Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5
In Python, the print statement is basically just used to print any string into the console followed by a newline. So pretending the line in the example below indicates the console, this is basically what it would do: print("Hi! :D") print("แ••(แ›)แ•—") ------------------------------------- Hi! :D แ••(แ›)แ•—
13th Mar 2018, 8:57 PM
Faisal
Faisal - avatar
+ 3
What exactly was the code you were trying to run?
13th Mar 2018, 8:59 PM
Faisal
Faisal - avatar
+ 3
Did you surround it in quotations marks to indicate it as a string? It should look like this for it to print correctly: print("Hello friends how are you")
13th Mar 2018, 9:01 PM
Faisal
Faisal - avatar
+ 3
Are you able to link to the code that you're trying it out on?
13th Mar 2018, 9:04 PM
Faisal
Faisal - avatar
+ 3
Here, I think this may be what you're trying to do - https://code.sololearn.com/ct6o6Zp96PSq/?ref=app
13th Mar 2018, 9:16 PM
Faisal
Faisal - avatar
+ 3
lowercase p... print("") is pink Print("") is blue You want pink
13th Mar 2018, 9:28 PM
LordHill
LordHill - avatar
+ 1
man akbarshox
16th Mar 2018, 2:34 PM
Akbar Norboyev
Akbar Norboyev - avatar
0
hello
15th Mar 2018, 5:33 PM
Samandar Xalimov
Samandar Xalimov - avatar
0
samandar bomi
16th Mar 2018, 2:33 PM
Akbar Norboyev
Akbar Norboyev - avatar
0
salom
16th Mar 2018, 4:54 PM
Samandar Xalimov
Samandar Xalimov - avatar
0
akbar shox
16th Mar 2018, 4:54 PM
Samandar Xalimov
Samandar Xalimov - avatar
0
pink
19th Mar 2018, 8:27 PM
Amirkhan
- 1
great๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚
14th Mar 2018, 11:59 AM
Vikrant Singh
Vikrant Singh - avatar