二手产品经理

二手产品经理

THIS IS RENO

Learn Python Online in 100 Days - Day 2

Study Notes:

  1. input is the user input command, such as input("what is your name:")
  2. Variables cannot have spaces, camel case looks better. When using variable names, they must be completely consistent, and case-sensitive.
  3. print prints variables, no need for quotes, for example
   myName=input("what is your name:")
   print("nice to meet you!")
   print(myName)

CODE

myName=input("What's your name?:")
myFood=input("What's your favourite food:")
myMusic=input("What's your favourite music:")
myLive=input("Where do you live:")
print("You are")
print(myName)
print("You're probably hungry for")
print(myFood)
print("and you' re definitely getting your groove on to")
print(myMusic)
print("living in the amazing")
print(myLive)

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.