二手产品经理

二手产品经理

THIS IS RENO

Learn Python Online in 100 Days - Week 2, Day 1

Today is the last day of learning input, print, if, else. Tomorrow we will start new learning.
Come on, you can do it!

Learning Record

  1. Practice Input and print
  2. Practice if, nested if, and elif
  3. Pay attention to indentation
  4. When I just wrote the code, there was an error. I wrote the assignment as 🟰 instead of 🟰🟰. I looked at it for a long time and didn't understand it. It was chatgpt that taught me how to be a person.

CODE

print("Super Tips")
print("++++++++++")
varday = input("what's a few day? ")
if varday == "monday" or varday == "tuesday":
    print("oh! no!")
elif varday == "wednesday" or varday == "thursday":
    print("oh! hehe")
else:
    print("I am happy")

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