Answers for "print value of variable python"

3

print string and variable python

x = input("Enter the first number: ")
y = input("Enter the second number: ")
z = int(x)+int(y)
#Just use a comma
print("The sum of the numbers you entered =",z)
Posted by: Guest on January-22-2021
0

How to print a variable in Python

#HOW TO PRINT A VARIABLE.
name = 'Wizard'
print(name)
#IT'LL PRINT THE VERY VARIABLE "name"
Posted by: Guest on December-15-2021

Code answers related to "print value of variable python"

Python Answers by Framework

Browse Popular Code Answers by Language