2023 Follow all instructions for full points There are two parts PART A Write all | Assignment Collections

Computer Science 2023 Python help needed urgent!!

2023 Follow all instructions for full points There are two parts PART A Write all | Assignment Collections

Follow all instructions for full points. There are two parts.

PART A: Write all code in the main function:

  • make a dictionary for nine Tampa Bay Rays (see below). Use the player names as keys and a list for each value. See page 374.
  • Each value list should hold the position played by the player, the batting order, and current batting average.
  • When the dictionary is complete, use a for loop to display the dictionary keys and values.
  • Next, use loop(s) to print the “lineup” (the dictionary in batting order). Duplicate the sample output for full points.
  • Pull Rivera and DeJesus. Substitute Wilson as catcher and Beckham as DH (see sample output).
  • Reprint the new lineup.

SAMPLE OUTPUT
Rays starters

DeJesus [‘DH’, 6, 299]
Loney [‘1B’, 4, 222]
Rivera [‘C’, 9, 194]
Forsythe [‘2B’, 5, 304]
Souza Jr [‘RF’, 2, 229]
Longoria [‘3B’, 3, 282]
Cabrera [‘SS’, 7, 214]
Kiermaier [‘CF’, 1, 240]
Guyer [‘LF’, 8, 274]

Today’s lineup

Batting 1 : CF Kiermaier ,current avg: 240
Batting 2 : RF Souza Jr ,current avg: 229
Batting 3 : 3B Longoria ,current avg: 282
Batting 4 : 1B Loney ,current avg: 222
Batting 5 : 2B Forsythe ,current avg: 304
Batting 6 : DH DeJesus ,current avg: 299
Batting 7 : SS Cabrera ,current avg: 214
Batting 8 : LF Guyer ,current avg: 274
Batting 9 : C Rivera ,current avg: 194

Lineup changed

Batting 1 : CF Kiermaier ,current avg: 240
Batting 2 : RF Souza Jr ,current avg: 229
Batting 3 : 3B Longoria ,current avg: 282
Batting 4 : 1B Loney ,current avg: 222
Batting 5 : 2B Forsythe ,current avg: 304
Batting 6 : DH Beckham ,current avg: 200
Batting 7 : SS Cabrera ,current avg: 214
Batting 8 : LF Guyer ,current avg: 274
Batting 9 : C Wilson ,current avg: 152

PART B: Write all code in the main function:

  • create an empty set.
  • use a loop to add 10 random integers, all from 10 to 30 inclusive, to the set.
  • use another loop to process the set:
    • display all elements of the set on one line separated by ** (see sample outputs).
    • count how many elements are even and how many elements are odd.
  • display the counts.

SAMPLE OUTPUT
12**16**17**18**20**21**22**23**24**28**
Set has 7 even numbers and 3 odd numbers

SAMPLE OUTPUT
10**12**14**16**18**20**21**22**25**26**
Set has 8 even numbers and 2 odd numbers

Create a folder that identifies you and Assignment 3 such as smith_asst3 or asst3_jones. Save all Python programs to this folder. Zip the folder. No .rar files allowed. Upload the zip to the Assignment 3 drop box.

 

We give our students 100% satisfaction with their assignments, which is one of the most important reasons students prefer us to other helpers. Our professional group and planners have more than ten years of rich experience. The only reason is that we have successfully helped more than 100000 students with their assignments on our inception days. Our expert group has more than 2200 professionals in different topics, and that is not all; we get more than 300 jobs every day more than 90% of the assignment get the conversion for payment.

Place Order Now

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational