subject
Computers and Technology, 26.02.2021 06:20 AM28

7.4 Code Practice: Question 2 I need help on this question and my code to get as 100% on it:

def GPAcalc(grade, weighted):
if grade. lower() == "a":
return 4
elif grade. lower() == "b":
return 3
elif grade. lower() == "c":
return 2
elif grade. lower() == "d":
return 1
elif grade. lower() == "f":
return 0
else:
return "Invalid"

print(GPAcalc(input("Enter your letter grade: "), int(input("Is it weigthed? (1= yes, 0= no)"

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:30
1.the index finger on your right hand types the f r v 4 j u m 7 h y 6 n lo.9 j u 7 m g t 5 b 2.if you need to multiply 400, 2, and 1 ½, what would you type on the numeric keypad? 400*2*1.5 400/2*1.5 400/2/1.5 400*2*1½ 3.select all examples of proper keyboarding technique. rest your fingers gently on the home row or home keys. slouch in your chair. rest your palms on the keyboard. relax your fingers. keep your hands lower than your elbows.
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
If you add the following to the query grid in an access query, what is it called? salestaxamt: [salestaxrate]*[totalsale] formula calculated field total calculation
Answers: 2
question
Computers and Technology, 24.06.2019 16:00
Read these lines from beowulf.often scyld scefing seized mead-benches from enemytroops, from many a clan, he terrified warriors, even thoughfirst he was found a waif, best explains why the author includes this information in theexposition? a. to emphasize that a hero must learn to be fierceb. to remember the famous story of a popular heroc. to express sadness about losing the old heroesd. to see whether people still respect the old heroes
Answers: 1
question
Computers and Technology, 24.06.2019 18:00
Why is a multiview sketch drawinf different from other sketches like isometric, two point, and oblique
Answers: 1
You know the right answer?
7.4 Code Practice: Question 2 I need help on this question and my code to get as 100% on it:
...
Questions
question
Mathematics, 16.12.2020 01:30
question
Computers and Technology, 16.12.2020 01:30
question
Mathematics, 16.12.2020 01:30
question
Arts, 16.12.2020 01:30
Questions on the website: 13722365