0
name=str(input(f"Enter your name: "))

if name=="Alice" or name=="Thabo":
    print(f"Hello, {name}")

I want the code to display "Hello Alice" / "Hello Thabo" in a format of the first letter being capitalized, even if the user enters the name in lower case, e.g. alice/thabo I tried using .upper functions but that isn't working.

allo
  • 3,955
  • 8
  • 40
  • 71
45984530
  • 1
  • 1

0 Answers0