I am trying to complete two different questions but cannot get them to work. Please help me understand where I went wrong.
for i in range(1,101): if i % 2 == 0: print('Billy') #you missed quote marks here else: print(i)
(bad indentation, and missing quote marks)
name = input("What is your name?") if name == "Joe": print("Hi Joe :)") elif name == "Susie": print("Ahoy Susie :D") #and you missed quote marks here else: print("Hello" + name)