Skip to content

Conversation

flegaspi700
Copy link

No description provided.

@zjrsss
Copy link

zjrsss commented Jan 23, 2022 via email

Copy link

@Kingorie Kingorie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

def get_initial(name):

initial = name[0:1].upper()
return initial

Ask for someone's name and return the initial

name = input('Enter your first name: ')

Call get_initial to retrieve first letter of name

first_name_initial = get_initial(name)

first_name_initial = get_initial(name)
print('Your initial is: ' + first_name_initial)

@zjrsss
Copy link

zjrsss commented May 19, 2022 via email

@Kingorie
Copy link

..a simpler way to solve problem

@zjrsss
Copy link

zjrsss commented Sep 21, 2025 via email

@saiyoji
Copy link

saiyoji commented Sep 21, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants