Answers for "how to print something in"

5

How print ?

#def test
print("Hello, world!") #for text
print(test) #for variable
print("Hello,", test) # for text + variable
Posted by: Guest on February-17-2021
3

how to print in python

#('') a string, to indicate it is a string you can use ("") or ('')
print("hello world")
#a integer 
print(19)
# a float:
print(4.5)
# a bool:
print (True)
print (False)
Posted by: Guest on December-10-2020

Code answers related to "how to print something in"

Python Answers by Framework

Browse Popular Code Answers by Language