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