On Day24 of 100daysofPython, the following is given as correct code. I’m still learning so please correct me if i’m wrong but the bolded line(line 6) is not properly indented and will cause that line to be printed every time.
def pizza_order(topping1, topping2):
if topping1 == "pepperoni":
print(topping1, "is a great choice")
else:
print(topping1, "is kinda lame on pizza")
print(topping2, "sounds delicious, much better than", topping1) # <- This one
topping1 = input("Name a pizza topping. ")
topping2 = input("Name a second pizza topping. ")
pizza_order(topping1, topping2)
Also not related but the tag for “replit-tutorials” is not correctly spelt.