Hi I'm new to python and I'm trying to combine the answers to two different if statements onto the same line. How can I make them appear on the same line.
if ar == "Y":
print("coating(s):\nanti reflective")
if pf == "Y":
print("polarized filters")
How can I get the two printed statements to appear on the same line when its run. I just don't know what to use to do this so i haven't tried much.
Aucun commentaire:
Enregistrer un commentaire