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
Angelina_Jolie [31]
3 years ago
8

PYTHON Write a grade program using a function called computegrade that takes a score as its parameter and return a grade as a st

ring Score Grade >0.9 A >0.8 B >0.7 C programme execution: Enter score: 0.9 A Enter score: perfect Bad scor
Computers and Technology
1 answer:
makvit [3.9K]3 years ago
3 0

def computeGrade(float grade, str a){

a = "A" if a > 0.9 else a = "B" if a > 0.8 else "C"

return a;

}

print(a)

You might be interested in
What Pre-Built PC should I get? I don't have a lot of money so I'm looking for cheap options.
mojhsa [17]

Answer:

for a gaming pc i recommend better graphic cards and for streaming gpu you can find some good options online not exactly sure what model.

6 0
2 years ago
Many phone fraud scammers are expessily cunning because they approach the target to try to sell
saw5 [17]

Answer:

improved computer security programs

Explanation:

4 0
2 years ago
Write a code segment that displays the values of the integers x, y, and z on a single line, such that each value is right-justif
Elena L [17]

Answer:

x = int(input ("enter first number: "))

y = int(input ("enter second number: "))

z = int(input ("enter third number: "))

print('%6d %6d %6d' %(x,y,z))

Explanation:

Using python programming language we receive three integers variables (x,y,z) then using string formatting (%6) which specifies that the output should be right justified with a width of 6, the values are printed out.

3 0
2 years ago
To find out how much ram is installed on a machine, in windows go to the user: a power ______ is a part inside a computer case t
shusha [124]
<span>a power _supply_ is a part inside a computer case that supplies power to the motherboard and other devices that are installed user: when a hard drive is first recognized by windows, it is assigned the _basic_ disk status user: utilize a _64_-bit os if you are looking for increased performance and you have a system that can support it.</span>
4 0
2 years ago
State four features of information​
Xelga [282]

Answer:

This is your answer

8 0
3 years ago
Other questions:
  • A company is utilizing servers, data storage, data backup, and software development platforms over an Internet connection.
    14·1 answer
  • The acceleration of a body is 3 metre per second square what does it mean​
    11·2 answers
  • Sue needs to add a header and a footer to a presentation. Which process should she use to do this?
    10·2 answers
  • Assume that name has been declared suitably for storing names (like "Misha", "Emily" and "Sofia"). Assume also that stdin is a v
    9·1 answer
  • Write a program that performs the following tasks: Display a friendly greeting to the user Prompt the user for the value to conv
    13·1 answer
  • If all the data in a database is not physically located in one place, it would be a(n _______ database.
    5·1 answer
  • Write a program named RectangleArea to calculate the area of a rectangle with a length of 15.8 and a width of 7.9. The program s
    10·1 answer
  • Hellpppp please I need it!
    15·1 answer
  • Second Largest, Second Smallest Write a program second.cpp that takes in a sequence of integers, and prints the second largest n
    15·1 answer
  • There are many ways you can improve the performance of a website from an SEO perspective. When it comes to link building, which
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!