1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Olin [163]
3 years ago
15

7.4 code practice question 1 edhesive

Computers and Technology
2 answers:
Semmy [17]3 years ago
4 0

Answer:

7.4 Code Practice: Question 1

def GPAcalc(g):

if g == "a" or g == "A":

return 4

elif g == "B" or g == "b":

return 3

elif g == "C" or g == "c":

return 2

elif g == "D" or g == "d":

return 1

elif g == "F" or g == "f":

return 0

Explanation:

Serhud [2]3 years ago
3 0

Answer:

def GPAcalc(letterG):

       if "a" in letterG.lower():

           return 4

       elif "b" in letterG.lower():

           return 3

       elif "c" in letterG.lower():

           return 2

       elif "d" in letterG.lower():

           return 1

       elif "f" in letterG.lower():

           return 0

       else:

           return("Invalid")

           

           

letterGrade = input("Enter your Letter Grade: ")

grade = GPAcalc(letterGrade)

print("Your GPA score is: " + str(grade))

Explanation:

yuh yuh

You might be interested in
Convert each of the following base 10 & base 2 numbers in signed magnitude, one’s complement and two’s complement. Each of t
asambeis [7]

011110 is the following base 10 & base 2 numbers in signed magnitude, one’s complement and two’s complement.

c)011110

<u>Explanation:</u>

Converting 10 base signed number as two complements. In computer signed is maintain in registered.

But computer needs all values in bits. In hardware it is considered as on or off methods. ASCII values are converted into bits and executed by CPU.

All values which been entered in computer are taken respective ASCII values and converted to bits. Normally sign symbol are maintained as registered flag which can be know if end user knows assembly programming languages.

Assembly language by which direct interacted with machine languages and faster in executions.

7 0
3 years ago
Comments can be hidden by clicking the _____ button.
Tamiku [17]
C because previous sends you back to something before such as a web page, Next does the opposite and I can't remember what Show MarkUp does.

5 0
4 years ago
Which steps would you take to track accounts payables at a business? Select all that apply.
soldier1979 [14.2K]

Answer:

a,c,e and f

Explanation:

7 0
3 years ago
12. When computer professionals take on jobs, they may not enter into relationships with which of the
weeeeeb [17]

Answer:

12 is c. 13 is a .14 is c 15 I don't know sorry

6 0
3 years ago
Software that instructs the computer how to run applications and controls the display/keyboard is known as the
saw5 [17]
Answer is : operating system
8 0
4 years ago
Other questions:
  • A plain text e-mail and the same text entered into a word processing document would be about the same file sizes.
    5·2 answers
  • Graphics that contain movement are often referred to as<br>..........​
    6·2 answers
  • Two Technicians are discussing Tire Fitment information.
    7·1 answer
  • Why is it necessary to understand conflict of interest and how it could affect you at work​
    7·1 answer
  • adding ______around calculations indicates which calculations should be performed first before following the typical order of op
    6·1 answer
  • Write a program that computes the minimum, maximum, average and standard deviation of the population over time for a borough (en
    6·1 answer
  • Anyone play Ro-blox ? without the -
    7·2 answers
  • Subscribe to my you tube channel to get all your questions answered
    8·1 answer
  • ____________ refers to bits that have been changed, in error, from 1 to 0, or vice versa, in a data transmission.
    12·1 answer
  • Identifiy the impact of new technology for your organizations <br>​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!