message = "Hello"
language = 'python'
more_info = '''Python is used in building
command line applications
desktop application
web application
machinelearning models
'''
more_info = """Python is used in building
command line applications
desktop application
web application
machinelearning models
"""
f-Strings: They can be used for string interpolations
name = "Ram"
course = 'Python'
message = f"Hello {name}, Im glad you started learning {course}"
Useful methods of string
endswith
find
lower
replace
split
startswith
upper
capitalize
Lists
Lists are ordered collection of arbitrary objects. We can create the list by enclosing the values in square brackets as follows