No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
class student_name: def __init__(self,student): self.student = student def student_name(self): print('Student Name: ', self.student) class Majors: def __init__(self,name1,name2): self.name1 = name1 self.name2 = name2 def major(self): pass def major2(self): print('Majors: ',self.name1, self.name2) class School: def __init__(self,school): self.school = school def school_name(self): print('School Name: ', self.school) class Student_Track: def __init__(self, School, student_name, … | |
I need to restrict this loop from using values greater than 101 and less than zero. The assignment is to make program that finds the average of test scores inputed. I can't figure out what to do, but i feel it's simple. thanks in advance T = 0 GC = … | |
I have an assignment that is very similar to a past assignment. I have to create a for loop to find gpa. The previous assignment was to use a while loop: stop1 = int(input('How many GPAs do want to calculate? ')) totalgp = 0 totalgp1 = 0 while stop1 > … | |
Use a while loop to collect a shopping list of items from the user. Then use a while or for loop to list it back to them. i have: item = int(input('How many items do you have? ')) while item > 0: input('Name of item: ') item -= 1 i … | |
A GPA, or Grade point Average, is calculated by summing the grade points earned in a student’s courses and then dividing by the total units. The grade points for an individual course are calculated by multiplying the units for that course by the appropriate factor depending upon the grade received: … |
The End.