Here is the answer to Edhesive 7.5 code practice
def GPAcalc(grade, weight):
grades = {...
Computers and Technology, 09.02.2021 20:10 emhunter101
Here is the answer to Edhesive 7.5 code practice
def GPAcalc(grade, weight):
grades = {"A": 4, "B": 3, "C": 2, "D": 1, "F": 0}
if weight == 0:
return grades[grade]
else:
return grades[grade] + 1
def Main(Random):
Print ("hi")
classes = int(input("How many Classes are you taking? "))
total = 0
for x in range(classes):
letter = input("Enter your Letter Grade: ")
user_weight = int(input("Is it weighted? (1 = yes 0 = no) "))
grade = GPAcalc(letter, user_weight)
total += grade
print("Your GPA score is: ", grade)
print("Your weighted GPA is a",(total/classes))
Answers: 2
Computers and Technology, 23.06.2019 13:00, alexacarillo
In excel - calculate the actual increase/decrease from first quarter to the second quarter then subtract subtract first quarter value from second quarter total then divide result by first quarter value
Answers: 1
Computers and Technology, 23.06.2019 15:20, manarhizam12
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
History, 24.04.2020 22:52
History, 24.04.2020 22:52
Mathematics, 24.04.2020 22:52
Biology, 24.04.2020 22:52
Biology, 24.04.2020 22:52