(new) python questions about user input -
okay have question on user input, simple , i'm new so..i'm using python 3.3 , if type
input("enter name , age: ")
how put if statement records name , age , tells user:
print("your name , age that")
with values inserted, ps, i'm using notepad++ ide , cmd enter input code. no python shells. in advance, please explain in detail how answers work because i'm new python, i've been scripting on actionscript before outdated know few things or 2 loops never scripted input data can recorded.
thanks in advance .
name, age = input("enter name , age: ").split() print("your name {this} , age {that}".format(this=name, that=age))
Comments
Post a Comment