Skip to content

Instantly share code, notes, and snippets.

@Sid72020123
Last active January 21, 2022 13:17
Show Gist options
  • Save Sid72020123/2b9f436030510554c37cd897da567673 to your computer and use it in GitHub Desktop.
Save Sid72020123/2b9f436030510554c37cd897da567673 to your computer and use it in GitHub Desktop.
Basics in Python
print("Hello!")
name = input("Enter your name:")
name = name.strip()
name = name.title()
print(name)
@Quantum-Codes
Copy link

U could have used .title()

@Sid72020123
Copy link
Author

Yes LOL. I was a beginner at that time.

@Sid72020123
Copy link
Author

It was one of my first programs in Python and I didn't knew this feature.

@Quantum-Codes
Copy link

Oh ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment