Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Lab2Pral Use Thonny to create a new program and save the program as Lab2Prgi then write the following program: Pass 'em State College would like
Lab2Pral Use Thonny to create a new program and save the program as Lab2Prgi then write the following program: Pass 'em State College would like you to write an application that will calculate the remaining number of credit hours a student needs to complete their program. Store(create variables) the following data: student name degree name number of credits taken so far total number of credits required in the degree program total number of credits left to complete the program Collect the following data from the user: (prompt the user for the data to enter/store the keyboard input) student name degree name number of credits taken so far Set the total number of credits required in the degree program to 70 Then calculate the number of credits left to complete the program (total number of credits required - number of credits taken so far) Display result as follows: Shell >>> %Run Lab2Prgl.py Enter the student name: Joe Student Enter the name of the degree program: CIT Enter the number of credits completed: 62 Pass em State College Joe Student is in the CIT program and has 8.0 credits left to graduate studentName degreeProgram creditsLeft
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started