0

This code <<print like echo in cmd are you agree withme

13th Jan 2017, 8:00 PM
Mohammed Shahbaz
Mohammed Shahbaz - avatar
2 Answers
+ 2
In python 2, you can use the following: print "hello world" print("hello world") In Python 3, you must use parenthesis around what you want to print: print ("hello world") you can also pass a variable to print: a = 1 b = 2 c = a + b print(c) This will print out "3" I hope this helps.
6th Feb 2017, 8:19 PM
Zachary Voyles
Zachary Voyles - avatar
+ 1
it helps Jebby, thank you
7th Feb 2017, 6:36 AM
Mohammed Shahbaz
Mohammed Shahbaz - avatar