Even complicated and confusing topics will be easily developed and covered if you request our help writing an essay. Place an order today!

PRyC WP: Add custom content to bottom of post/page: Standard Content START

Extra Credit- Fantasy Football

Who is ready for some football?

Your fantasy football draft is coming up and you are definetlygoing to win this year. You’ve got an edge on your oppentents this year: you have a super accurate forecast to how players are going to peform this year andyou have your coding skills!

Your league has the following rules:

You must select

– One quarterback

– Two running backs

– Two wide receivers

– One tight end

– One flex player (either a RB, a WR, or a TE)

In players.txt, there is a text file with the forecast for each player. Each player has their expected stats. It is formatted as follows:

Position Name PassingYards PassingTDs RushingYds RushingTDs ReceivingYds ReceivingTDs

Your job is to create the best team from the listed players using the following scoring:

You receive 1 point for each 25 yards of passing

Each passing TD is worth 4 points

You receive 1 point for each 10 yards of rushing

Each rushing TD is worth 6 points

You receive 1 point for each 10 yards of receiving

Each receiving TD is worth 6 points

Your code should output each position, each player, plus how many points they are expected to score, as such:

QB Mahomes 442

RB1 Gurley 309

RB2 Barkeley 292

WR1 Hill 244

WR2 Hopkins 223

FLEX Elliott 254

To learn more about how to read files in Python, you can read . You will also need to read up on how to use the split function in Python.


You can earn 20% extra credit by passing all of the test cases for this question.

Here is an example players.txt file you can use.

players.txt :

PRyC WP: Add custom content to bottom of post/page
/PRyC WP: Add custom content to bottom of post/page

testimonials icon
In a departure from its normal business operations Apple has recently teamed up with a bio-tech company to investigate the possibility of cloning h...
testimonials icon
Psychology Psychological Evaluation Bipolar II Disorder PaperPsychology Psychological Evaluation Bipolar II Disorder Paper...
testimonials icon
Your final out-of-class paper will be a multi-source research paper of 7-10 pages in which you define a problem and take a position arguing for a s...
testimonials icon
/*! elementor - v3.6.5 - 27-04-2022 */ .elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading...
testimonials icon
see attachments. Note: When User input information, save information in the text file. So next time, we can retrieve it....
testimonials icon
eview the Topic Materials and the work completed in NRS-433V to   formulate a PICOT statement for your capstone...
testimonials icon
Language and Cognition 1. Language structure important in cognition, but is it really? For example, if a...
testimonials icon
 The IEP Team is comprised of several key personnel. Your "responsibility" (duty) is to discuss their roles and responsibilities. Respo...
testimonials icon
Hello here is the writing guideline:...
testimonials icon
Surname 1Name:Course:Instructor:Date:Hotel Strategic Marketing & Brand ManagementWeek 1 Assignment: The Don Group Case StudyPlease answer the followi...
testimonials icon
/*! elementor - v3.6.5 - 27-04-2022 */ .elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading...
testimonials icon
For this assignment, the student must first select a healthcare policy concern. The concern must be a community-based, public health policy conce...

Other samples, services and questions:

Calculate Price

When you use PaperHelp, you save one valuable — TIME

You can spend it for more important things than paper writing.

Approx. price
Order a paper. Study better. Sleep tight. Calculate Price!
Created with Sketch.
Calculate Price
Approx. price