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!
4.3m questions
5.6m answers