Answers for "print stuff in console python"

1

how to print to console python

print(value)

print("Hello, World!") # String
print(3) # Number
print(True) # Boolean

# Can also print a variable.
Posted by: Guest on December-07-2020
0

print stuff in console python

print("ENTER STUF YOU WANNA PUT INTO CONSOLE HERE")
Posted by: Guest on May-06-2021
-2

what is the correct way to output a string to the console in python

time = datetime.now() #2014-07-08 13:08:09

print "%02d:%02d:%02d" % (time.hour, time.minute, time.second)
Posted by: Guest on October-07-2020

Python Answers by Framework

Browse Popular Code Answers by Language