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!
6.5m questions
8.5m answers