Question: # Write a program to: # 1. Creat a list named list_int that contains 6 integer numbers # print the list # 2. print the

# Write a program to:
# 1. Creat a list named list_int that contains 6 integer numbers
# print the list
# 2. print the items from index 2 to the end
# print the list
# 3. print the number in index 3
# 4. append number 99 to the end of the list
# print the list
# 5. extend the list with 33,22,44
# print the list
# 6. insert 111 to the seventh index
# print the list
# 7. sort the list from the lowest to the highest
# print the list
# 8. sort the list from highest to the lowest
# print the list
# 9. print the largest number in the list
# 10. print the smallest number in the list
# 11. check if the number 888 in the list
# 12. check if the value 212 is not in the list
# 13. write a while loop to print all items
# 14. write a for loop to print all items
# 15. write a for loop to print the sum of the items
#
# N E W PROGRAM
# 16. create an emply list named userlist
# 17. write a program to ask the user to enter n numbers and
# a append to the list
# 18. use FOR loop to display all items
# 19. use the same loop to sum all numbers
# 20. print the average of all numbers

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!