String is an immutable sequence data type. It is the sequence of Unicode characters wrapped inside single, double, or triple quotes. Functions capitalize() Converts the first character to upper case txt = "hello world!" x = txt.capitalize() print(x...

Markdown supported · ⌘↵ to post
No responses yet.