The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Printing strings using “Print” function

Printing strings using “Print” function

Super Learner
0
Votes
1
Answer

What if the question was :
Produce an output equal to I’m “OK”. (without having any quotes i.e. using print)

1 Answer

365 Team

Hi Archisman!
Thanks for reaching out.
In such a situation, we may want to help ourselves by using a backslash.

print('I\'m "OK".')

Hope this helps.
Best,
Martin