- 3

newline

The given code outputs A B C D (each letter is separated by a space). Modify the code to output each letter on a separate line, resulting in the following output: A B C D

18th May 2021, 4:21 AM
Evick Zeeps
Evick Zeeps - avatar
5 Answers
+ 1
print('A\nB\nC\nD')
20th Oct 2021, 3:28 PM
Belete Yami Bati
+ 1
print('''A B C D''')
16th Nov 2021, 4:29 AM
Austin Cremer
Austin Cremer - avatar
0
Use "\n" after A,B and C
18th May 2021, 4:33 AM
TOLUENE
TOLUENE - avatar
0
Specify the language
18th May 2021, 6:05 AM
Atul [Inactive]
- 1
"\n" after A,B and C doesn't work,
15th Sep 2021, 1:28 PM
Oumaima Elmokri
Oumaima Elmokri - avatar