print vars in python code example
Example 1: python print variable
name = "Bob"
print(f"hello {name}!")
Example 2: python print variable
variable=5
print(f"{variable}")
#or
print(variable)
Example 3: print variable python
str1 = "Hello World"
print(str1)