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