0

why wont the program accept the correct answer?

I spent the 10xp for the answer which is /n . when i enter this answer (the answer it produced for me) was wrong. i can't proceed because it rejects my correct answer. what do I do?

1st Feb 2017, 12:35 AM
Vincent
3 odpowiedzi
+ 3
Escape characters use a backslash. Use \n instead of /n.
1st Feb 2017, 2:58 AM
DaemonThread
DaemonThread - avatar
0
thank you!
1st Feb 2017, 5:58 AM
Vincent
0
you type it wrong backward slash act as escape character everywhere example >>>print('Vincent/'s')would print Vincent's else it would give an error . backslash has a property to ignore the character present just after it . Hope you get it now
4th Feb 2017, 12:22 PM
Shivam Bhatt