Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

25 Vba Macros For Data Analysis In Microsoft Excel

Authors: Klemens Nguyen

1st Edition

B0CNSXYMTC, 979-8868455629

More Books

Students also viewed these Databases questions