Last active
January 21, 2022 13:17
-
-
Save Sid72020123/2b9f436030510554c37cd897da567673 to your computer and use it in GitHub Desktop.
Basics in Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Hello!") | |
name = input("Enter your name:") | |
name = name.strip() | |
name = name.title() | |
print(name) |
Yes LOL. I was a beginner at that time.
It was one of my first programs in Python and I didn't knew this feature.
Oh ok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
U could have used
.title()