print python string and value code example Example: how to print a variable in python variable = "Hello World" print(variable)