format text input python code example
Example 1: how to outoutp pythopn
# how to out put in Python
print("Hello World!") # using double quotes
print('Hello World!') # using single quotes
# no using a double quote and a single quote, or there shall be an error!
# to print variables:
# declaring variable:
name = "Bob"
print(name) # output: Bob
Example 2: how to print the 3erd character of an input in python
exampleString = "This is an example sentence"
print(exampleString[2])