livepython.net

13. Python Program to Print Multiple Lines

Easyprint() basics

Overview

This exercise teaches how to display text across multiple lines in Python. You’ll use basic print() functionality to achieve the desired output.

Problem Statement

Write a Python program that prints the following exact output:

I am learning Python
I love Python
I love LivePython.net

Input

  • No input is required.

Output

The program should output the following:

I am learning Python
I love Python
I love LivePython.net

Enjoy learning Python!

Learn this firstChapter 2 · Python print() Function: Show Text and Numbers
solution.py
# write your code here

EXPECTED OUTPUT

1I am learning Python
2I love Python
3I love LivePython.net

YOUR OUTPUT

Press Run to see your output here. Lines are compared with the expected output.