Write a program to input a string with more than one word and check whether it is in title case or not, if yes print message “In title case” otherwise convert to title case and print this string. (Title case means that the first letter of each word is capitalised)
Answers
Answered by
1
print((s := input("string: ")).title())
Similar questions