Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print user input

name = input("Hi! What’s your name ? ")
print("Nice to meet you " + name + "!")

age = input("How old are you ? ")

print("So, you are already " + str(age) + " years old, " + name + " !")
Source by websitesetup.org #
 
PREVIOUS NEXT
Tagged: #python #print #user #input
ADD COMMENT
Topic
Name
2+5 =