Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #string #variable #python
ADD COMMENT
Topic
Name
1+1 =