if you want to take float as input, then you need to use float() function to explicitly convert String to float. Python 3.x example. x = float(input(“Enter a ...
確定! 回上一頁