lets try this one :) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

lets try this one :)

>>>print('mark\'s cat is missed \nhis brother looking for it ') >>>input('enter name of cat\'s owner')

18th Jul 2017, 8:21 PM
maxfreeman
maxfreeman - avatar
2 Answers
+ 5
You cannot execute code in Q&A Discussions.
18th Jul 2017, 8:39 PM
mexikodro thanksgiving samples 1/1
mexikodro thanksgiving samples 1/1 - avatar
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!
18th Jul 2017, 8:55 PM
Sapphire