Lesson 20: Basics

posted Mar 23, 2018, 8:02 AM by Attila Lengyel
question = input("Give me a word:")

print(question)

for x in range(0, len(question)):
  print(question[x])
  
for x in question:
  print(x)

number = 0
for i in (range(0,151)):
  number = number + i
print(number)

answer = "Good"
while answer.lower() == "good":
  answer = input("How are you doing?:")
print("I'm doing GOOD too!!")

Comments