0 Comments
name = input("Enter your name: ")
if "a" in name:
print("There's at least one 'a'")
else:
print("The name does not contain the letter a.")
I wrote my code in python 3.8. I hope this helps!
9.4m questions
12.2m answers