0

How to print hello world in python with syntax

24th Feb 2019, 10:09 AM
R. Krishna
2 Antworten
+ 4
This is pretty much the first thing you'll learn in the Python tutorial https://www.sololearn.com/discuss/1316935/?ref=app
24th Feb 2019, 10:12 AM
Anna
Anna - avatar
0
1- straight forward without variables print('hello world') 2- with variable str = 'world' print('hello' + str) 3- with variable and using format method str = 'world' print('hello {}'.format(str))
24th Feb 2019, 1:11 PM
Ameer Abdulaziz
Ameer Abdulaziz - avatar