Computer Science, asked by sandeepperaka91, 1 year ago

How to input a list by taking input from the user in python

Answers

Answered by KartikSharma13
2
To add them to our list, we call the .append() method on our_list: our_list = [] # create empty list. first_num = int(input('Enter first number: ')) second_num = int(input('Enter second number: ')) third_num = int(input('Enter third number: ')) our_list.append(first_num) our_list.append(second_num)

Anonymous: Don't copy
Answered by ItzDeadDeal
1

Answer:

Explanation:

This is free online complete course 2020. learn from basic to advanced and get job easily. Here you will learn all concept of python like basic to advanced course, python libraries. Step by Step. more than 5 lac student. easy to learn.

Similar questions
Math, 6 months ago