whats the difference between string and print in python? can u explain me with an example. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

whats the difference between string and print in python? can u explain me with an example.

whats the answer to this: print(''python is fun!'') print('always look on the bright side of life')

5th Dec 2020, 3:48 PM
Swati Nandanwar
Swati Nandanwar - avatar
1 ответ
0
May you have doubt between single and double? If yes, then you can use single quotes or double quotes to represent strings, no difference in python. print is a function used for outputting.. Edit : examples s = 'str' (is same as "str") print(s) prints s value https://www.sololearn.com/learn/Python/2274/?ref=app
5th Dec 2020, 7:41 PM
Jayakrishna 🇮🇳