Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How do you print a integer in python

x = 7
print('Number: ' + str(x))
#str() turns anything inside to a string which allows you to
#add it to another/different string
 
PREVIOUS NEXT
Tagged: #How #print #integer #python
ADD COMMENT
Topic
Name
2+4 =