Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję+ 1
Not understanding
input in python
2 odpowiedzi
+ 5
'input' is what the user "put in", let say the user data entries. It's done with input() function.
'output' is what the program "put out", let say the displayed information for the user. It's done with print() function for text ( graphical outputs are handling by GUI modules ).
+ 4
would it be like this:
name = input("tell your name: ")
print("\nyour name is " + name)