Generate 100 random integers between 1 and 10 (both included), save them into a list and print them (just print them, th

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Generate 100 random integers between 1 and 10 (both included), save them into a list and print them (just print them, th

Post by answerhappygod »

Generate 100 Random Integers Between 1 And 10 Both Included Save Them Into A List And Print Them Just Print Them Th 1
Generate 100 Random Integers Between 1 And 10 Both Included Save Them Into A List And Print Them Just Print Them Th 1 (37.72 KiB) Viewed 36 times
Generate 100 random integers between 1 and 10 (both included), save them into a list and print them (just print them, there is no need to do a plot). Count how many even and odd numbers are there and store this information in two different variables. Create a barplot using matplotlib that allows the user to compare the number of even and odd numbers, this is, it must show two bars indicating the number of odd and even numbers. Add labels on the axes accordingly and a title. Each of the bars must have different colors. EXTRA: Create another plot, a lineplot, using the list of 100 random integers created before.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply