- 5
lets try this one :)
>>>print('mark\'s cat is missed \nhis brother looking for it ') >>>input('enter name of cat\'s owner')
3 Answers
+ 5
You cannot execute code in Q&A Discussions.
0
Line 1: you can use double quotation marks ( " ) surrounding your outermost string, and it'll allow you to use single quotations within it without having to use escapes.
line 2: it asks for the name of the cat's owner, but that string won't be stored anywhere. Therefore, you can't use it. x)
Also, what others said before me. Try on playground, the discussion board cannot run code. But you can make a code on the playground, and link it here!