In short, anything between single, double and triple quotes.
The following give the same output.
print('Hello World')
print("Hello World")
Hello World
Hello World
A method is a function that can be called on a data type to perform a specific task.
Python has the following methods to change the case of strings.
.title()
my_name = "eRiDanI ALCAntar"
print(my_name)
print(my_name.title())
eRiDanI ALCAntar
Eridani Alcantar
.upper()
my_name = "eridani Alcantar"
print(my_name)
print(my_name.upper())
eridani Alcantar
ERIDANI ALCANTAR
.lower()
message = "HELLO WORLD"
print(message)
print(message.lower())
HELLO WORLD
hello world
.rstrip()
message = "HELLO WORLD "
print(message)
print(message.rstrip())
HELLO WORLD____
HELLO WORLD