0

Why is this code failing? (New lines)

print('''A B C D''') It prints an extra blank line so it fails the exercise

17th Jan 2022, 3:41 PM
Josh
2 Answers
+ 6
You can also use new line character `\n` to break a single line to multiple lines. print("A\nB\nC\nD")
17th Jan 2022, 4:28 PM
Simba
Simba - avatar
+ 3
Josh You need to make sure that there are no white spaces: print('''A[Enter] B[Enter] C[Enter] D''')
17th Jan 2022, 3:57 PM
Denise Roßberg
Denise Roßberg - avatar