+ 1
Input problem in python.
Can you write me please an example of 3 inputs ... like... name , age and highschool? I tried to make more that one input and then print it but it doesn't work and idk why. Help pls.
4 Respostas
+ 2
In Sololearn yes. But if you use e.g. Spyder/Anaconda on PC it's different
+ 1
name = input()
age = int(input())
school = input()
print(name, age, school)
'''
input it the following way in Sololearn, since all inputs have to be given in advance:
Name
17
School
'''
+ 1
i think i got it , thx.
+ 1
so.. it doesn't metter how many inputs i create , i have to write them all just in one popup?