I am trying to figure out how to get only the first letter of the first name they input but everything I tried or look at other similar problems doesn't help.
CodePudding user response:
this should work:
name = input("name:")
first_letter = name[0]
print(first_letter)