0
Can you help me on Strings?
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 The output needs to include the double quotes and be exactly in the format shown above. Here is my attempt:print("Stay hungry,stay foolish" by Steve Jobs) ("Stay hungry,stay foolish" by Steve Jobs) Ps:i honestly don't know how i get this wrong so tell me what went wrong a hint if possible
3 odpowiedzi
+ 2
In most programming languages you need to escape quotes if you need also to print tham.
In JavaScript we can use \
console.log("\"Stay hungry,stay foolish\" by Steve Jobs")
I think you ask for python, you can try this, probably will work also.
And tag language so you will get right answers.
+ 1
Pls tag a language in which you want answer
In python
it's simple
print ("Stay hungry , Stay foolish")
print ("By Steve jobs")
Thank you
Shah Johan attach your code here
0
Expected Output:"Stay hungry,stay foolish" by Steve jobs
I tried your way but it didn't work,Sâñtôsh