Discussions Events Study Material Jobs
Input 5 numbers from the user and store them in a list. Then print the list Using Python - Uniwaly

Explore Diverse Conversations

Input 5 numbers from the user and store them in a list. Then print the list Using Python

Posted By: UmairMehmood Published On: 13 June 2025 At: 07:56 AM

Create and Print a List

Input 5 numbers from the user and store them in a list. Then print the list.


numbers = []
for i in range(5):
    num = int(input(f"Enter number {i + 1}: "))
    numbers.append(num)
print("The list of numbers is:", numbers)


Tags:

python python list python input
Login to like

Posted By:

Author Profile

UmairMehmood

11 days ago

Join the conversation!

Login to Comment

Discover More Articles

Input a list and create a dictionary where keys are elements and values are their frequency using Python

How to Choose the Best University in Saudi Arabia – A Guide for International Students

Check Leap Year or Not Using Python

Describe the process of microteaching by focusing its reflective nature in the development of novice teachers. What is the role of supervisor in this process?

Air University Main Campus - How to Apply

وزارت قانون و انصاف حکومت پاکستان میں شاندار نوکریاں

Discuss the different B.Ed programs currently being offered by AIOU and how are they contributing towards the vision of quality teacher education across the country ?

Voting Eligibility Checker Using Python

Graphic Designer Jobs in Forest Department , PAKISTAN 2025

International Scholarship without IELTS 2025