Question: how to fix this code to answer question 1 and 2 print ( ##################### #Promblem 1 ############################## ) #

how to fix this code to answer question 1 and 2
print("""#####################
#Promblem 1
##############################
""")
# Task 1
list1=[]
for i in range(10):
num = int(input("Enter an integer number: "))
list1.append(num)
print("""#####################
#Promblem 2
##############################
""")
# Task 2
list2=[]
for i in range(5):
num = int(input("Enter an integer number: "))
list2.append(num)
list2=[1,2,3,4,5] # Example list, you can modify this
list3= list1+ list2
1. Create a python program that creates a list called list1 of 10 integer numbers entered by the user. The program should then display the list.
2. Create a second list called list2 of 5 numbers and merge it with the list created in problem 1 to create a new list called list3.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!