Here are examples of each of the string methods in Python: 1. capitalize() Converts the first character to upper case s = "hello world" print(s.capitalize()) # Output: "Hello world" 2. casefold() Converts string into lower case s = "HELLO WORLD" pr...
yogesheon.hashnode.dev5 min readNo responses yet.