how to print in python

Solutions on MaxInterview for how to print in python by the best coders in the world

showing results for - "how to print in python"
Lea
02 Aug 2017
1print("YOURTEXT")
Roberta
07 Feb 2020
1# How to print in Python
2print('Hello World!')
3# or
4print("Hello World")
5# and with a space like this:
6print ('Hello World')
Raheem
28 Aug 2016
1print("anything")
Matthew
12 Feb 2017
1print("The text you want")
Pia
25 Jul 2020
1'''
2print()inside the parentheses put a single colon or double colon 
3'''
4# example like this
5print("this how you use print statement")
6# or like this
7print('other way to print in python')
Rafael
02 Apr 2020
1print("what you want to print")
Pedro
07 Sep 2020
1#('') a string, to indicate it is a string you can use ("") or ('')
2print("hello world")
3#a integer 
4print(19)
5# a float:
6print(4.5)
7# a bool:
8print (True)
9print (False)
Alex
26 Mar 2018
1'''
2print - > this is a statement
3use brackets and quotation marks ("") or ('')
4whatever you want to say put in the brackets
5'''
6print("Hello World")
Stefania
28 Mar 2016
1print("your message")
Lena
07 Mar 2016
1#printing inputs
2print(input("whatever u want to say "))
3#or u can use preloaded inputs
4input_value=input("whatever u want to say ")
5print(input_value)