livepython.net

2. Python Program to Print a Phone Number Without Quotes

Easyprint() basics

Overview

In this exercise, you will demonstrate your understanding of Python's print() function by printing a number without any surrounding quotes. This basic question will help you distinguish between printing strings and numbers.

Problem Statement

Write a Python program that prints the following phone number to the console, without quotes:

9876543210

Input

  • No input is required.

Output

Your program should output the exact number:

9876543210

Good luck, and enjoy coding!

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

EXPECTED OUTPUT

19876543210

YOUR OUTPUT

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