Answers for "% operatior in python print"

0

% operatior in python print

# This prints out "John is 23 years old."
name = "John"
age = 23
print("%s is %d years old." % (name, age))
Posted by: Guest on October-25-2020
0

how do you add a print statement in python

print("What you would like to print") ## or
variable_name = "string"
print(variable_name)
Posted by: Guest on July-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language