This was from ye olde web on December 7, 2024.
- - CUT SCREEN HERE - -
The average salary for an entry-level Python developer in the United States is around $80,625 per year, or $68.10 per hour.
Salary
The average salary for an entry-level Python developer is $80,625 per year, which is up from $73,551 in 2023.
Hourly rate
The average hourly pay for an entry-level Python programmer is $68.10, with a range of $40.62–$82.93.
Additional pay
The estimated additional pay for an entry-level Python developer is $17,260 per year, which could include cash bonuses, commissions, tips, and profit sharing.
Here are some other Python developer salaries:
- Mid-level: $127,363 per year
- Senior: $201,196 per year
- Top earners: $188,507 per year
- - CUT SCREEN HERE - -
Write a program to compute statistics for the relationship between grades in a Python course and starting salary. Use this data file. (I made up the raw data, based on the stats above.)
Here's some data from the file:
- Python grade,Starting salary
- 2.5,74222
- 3.3,88878
- 3.1,84680
- 3.2,83757
- 2.4,64016
The first field is a student's grade in a Python course. The second is their starting salary.
Rules for valid data:
- Grades are floats that cannot be less than 0 or greater than 4.
- Salaries are integers that cannot be less than 0 or greater than 400,000.
Only analyze data from valid records. As usual, all fields in a record must be valid for the record to be considered valid.
Here's the program's output with the data set given, showing the type of data your program should produce:
- Grades and starting salaries for Python programmers
- ===================================================
- Number of records: 49
- Number of valid records: 45
- Mean grade: 3.14
- Mean starting salary: 87590
- Correlation: 0.96
Of course, your program should be able to work with any compatible data set.
Round values as shown. Two decimal places for mean grade, zero for mean salary, and two for correlation.
Use functions. My solution had six, but you can have more or fewer. Include docstrings for every function.
My main program was 17 lines without comments. Ten lines were output, so the guts of the main program was just seven lines. Almost all of the program's code was in functions.
Upload your solution here, not to Moodle. The usual programming standards apply.