+ 1
Str/int/float
Project_budget =input() Here what will the ans be?could you plz explain it to me 🤐🤐
2 ответов
+ 2
You’ve made it very difficult to figure out what you need to know. We are not inside your head. What I can tell you is that in Python 3, the input function will return a string. If you want that to be a number, you need to convert it to an integer or a float. In the case of a budget where you are likely to have dollars as whole numbers but also include cents, you probably want a float.
+ 1
Yes it is impossible to know without the rest of the code or task.