+ 1
Python
When I’ve got a piece of code and I run it a white box pops up and asks for input what should I put hear and what piece of the manual is it under variables, strings etc
11 odpowiedzi
+ 1
Yes
+ 2
That's strictly a sololearn thing. Just put in what you would want to input for the program. Different inputs separated by a return.
+ 1
could you give me an exapmle of somthing i would put there or
+ 1
I have no idea what your code is?
+ 1
print(float(input("Enter a number: ")) + float(input("Enter another number: ")))
+ 1
5
6
+ 1
thank you that makes alot more sence now
+ 1
could you lastley give me example for this peice of code
foo = input("Enter a number: ")
print(foo)
+ 1
7
+ 1
so is it just basicaly asking me for the input were its says entre number in this example
+ 1
well ill be god dammed thanks pall thats made type conversion make much more sence