Write a program to output his most famous quote in the following format: "Stay hungry, stay foolish" by Steve Jobs | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a program to output his most famous quote in the following format: "Stay hungry, stay foolish" by Steve Jobs

The man, the legend, Steve Jobs said a lot of cool stuff. Write a program to output his most famous quote in the following format: "Stay hungry, stay foolish" by Steve Jobs

26th Aug 2021, 2:58 PM
ANIKET KUMAR
ANIKET KUMAR - avatar
5 Answers
+ 2
Hi ANIKET! Code practices are given to improve our knowledge. It's not good to ask to solve them for you. For this practice, You just need to apply your knowledge about escape characters. Go through the required lessons and try to do it by your own.
26th Aug 2021, 3:11 PM
Python Learner
Python Learner - avatar
+ 1
I don't know much about python but I think you need to escape single/double quotes in most cases, correct me if I'm wrong.
26th Aug 2021, 5:44 PM
Tim
Tim - avatar
0
print('"Stay hungry, stay foolish"') # note: '"= ' + "
26th Aug 2021, 3:21 PM
Harshit Jawla
Harshit Jawla - avatar
0
print('"Stay hungry, stay foolish"')by Steve Jobs Are this correct
26th Aug 2021, 3:31 PM
ANIKET KUMAR
ANIKET KUMAR - avatar
0
ANIKET KUMAR Its just single line of code, Cant you try instead of asking "Is this this correct".
26th Aug 2021, 3:44 PM
Harshit Jawla
Harshit Jawla - avatar