二手产品经理

二手产品经理

THIS IS RENO

Learn Python Online in 100 Days - Week 2 Day 1

Study Notes

  1. Practice Input and print
  2. Practice if, nested if, and elif
  3. Pay attention to indentation
  4. When I just wrote the code, I made a mistake by writing 🟰 as 🟰🟰. I couldn't understand it after looking at it for a long time, so I asked chatgpt to teach me.

CODE

print("Super Tips")
print("++++++++++")
varday = input("What's your 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.