String Methods in Python Flashcards
1
Q
How to convert string to proper Statement ?
A
Convert string as first letter of string in caps & other are in lowercase.
s = “Abracadabra Hocus Pocus you’re a turtle dove HHHHHHHHZ”
print(s.capitalize())