Tarun Chandra has Published 11 Articles

How to invert case for all letters in a string in Python?

Tarun Chandra

Tarun Chandra

Updated on 19-Oct-2022 12:02:47

3K+ Views

A string is a group of characters that can represent a single word or a complete sentence. In Python there is no need to declare variables explicitly using the datatype specifier you can directly assign them to a literal. Therefore, compared to other technologies like Java it is easy to ... Read More

Advertisements