Answers for "python print def"

0

print python

print('hello world') #print can write a string a number or a variable

#for example you can 'print' a number
print(1) #if you want to print a number you can print it without '' or ""

#we can print a variable
string = 'hi'
print(string) #if you want to print a variable you can print it without '' or ""
Posted by: Guest on July-25-2021

Python Answers by Framework

Browse Popular Code Answers by Language