Last answered:

04 Aug 2020

Posted on:

02 Aug 2020

0

Resolved: Printing strings using "Print" function

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

1 answers ( 0 marked as helpful)
Instructor
Posted on:

04 Aug 2020

1
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

Submit an answer