Print text on separate lines in Python
print() - Question 1
In this question, we will see how to print multiple text on separate lines in python programming using the print function. To know more about print function click on the print() function lesson.
Q1) Write a program in python to print the name of 5 countries on separate lines on the screen.
Program
print('India')
print('Australia')
print('England')
print('United States of America')
print('China')
Output
India Australia England United States of America China