Why on strings third question can I only input 2 character? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why on strings third question can I only input 2 character?

I get a box come up and I can only enter two characters and my keyboard gets force closed, am I failing miserably or your codes got a bug? JK but it won't let me type more.

28th Nov 2019, 3:19 PM
Hayden Howard
Hayden Howard - avatar
4 Answers
+ 3
You have to input \n for new line. This should work.
28th Nov 2019, 3:59 PM
Lothar
Lothar - avatar
+ 1
The "First line ... Second line" question? It was expecting you to type \n there, two characters only, no problem on the quiz, nor was it a bug : )
28th Nov 2019, 4:01 PM
Ipang
+ 1
smh thanks guys
28th Nov 2019, 4:17 PM
Hayden Howard
Hayden Howard - avatar
0
Was \"
28th Nov 2019, 4:20 PM
Hayden Howard
Hayden Howard - avatar