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]
4 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]4 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
How do I write the yearly salary for something without copying it word for word? I'm doing a PowerPoint ( which you had to choos
Cloud [144]
The yearly salary is xx,xxx just add some stuff in front maybe in back
6 0
4 years ago
Calcula cuánto costará tener encendido toda la noche (8 horas) un radiador de 2500 W sabiendo que el precio del kWh es de 16 cén
Zinaida [17]

Answer:

I know you're going to delete my answer... But I have an essay which needs to be completed online and I need to ask a urgent question!

If you have a better reason WHY you need me to answer the RIGHT answer... Please reply.

Explanation:

3 0
3 years ago
Write a summary, on the requirements for a home automation IoT network discussing whether Wi-Fi is the best network option, by c
Wewaii [24]

Answer:

following are the answer to this question:

Explanation:

In the given question, firstly we focus solely on the smart homes IoT systems criteria, that can access the whole IoT notion throughout two ways, which be defined as follows:

Initially, whenever it links with the smart home includes ventilation, flower arranging, smart house appliances, device, and the designers will use search engine support, etc. all of this, including several, includes certain components like sensors, hubs, doorbells, fire detector.

In the second way the cloud control devices described from first are provided, however, manufactures should be recorded here through cloud computing, and when the process, entirely controlled, can easily be managed remotely, because it is first performed.

The Zigbee is a great priority when it comes to energy usage due to the extremely reduced wattage or battery capacity, and when it comes with wifi capacity, the best solution is Zigbee and it is too expensive with memory footprint 9 because this is also a very big one) It also allows all of the implements to enter even before wifi permits.  

Even so, in wifi, we will not ever realize if it will fall to the ground, however in ZigBee and at the start, they only have to pay tremendous like wifi but it has some repayment options, that lead the user can decide whatever they want. It can pay for our consumption levels.

5 0
3 years ago
HELP
Aleks [24]

Answer:

If a good friend comes to me for advice in pursuing a music career. With my knowledge of digital technology and the performing

arts, my advice to use digital technology to help build her career by <u>Delivering service to clients .</u>

Explanation:

<u>There were several reasons for this: </u>

• Being able to access work platforms and resources removed the need to travel back

to office bases because remote access allowed the completion of administrative

tasks where the practitioner was working.

• Working with clients in rural and isolated areas can prove difficult in terms of meeting

clients face to face and digital solutions helped to resolve this. This is because more

clients can be seen remotely than when practitioners must travel to see them.  

8 0
3 years ago
Write down the pseudo code for a brute-force algorithm to compare elements in array A with elements in array B.
Thepotemich [5.8K]

Answer:

def brute_force(array1, array2):

   for item in array1:

       for element in array 2:

           if element == item:

               print(f"{element} and {item} are a match")

Explanation:

A brute-force algorithm is a direct-to-solution algorithm that searches and compares variables. It is like trying to unlock a safe but not knowing its four-digit combination, brute-force starts from 0000 through 9999 to get a match.

The python program implements the algorithm using two nested for loops. The first loop iterates over array1 while the second, over array2. For every item in the first array, the program loops through the length of the second array. For every match, the items are printed on the screen.

5 0
3 years ago
Other questions:
  • Why do nonprofit agencies often include blogs on their websites?
    5·1 answer
  • Monica is teaching herself to paint. What web resource would be the most helpful
    14·1 answer
  • What is the Matlab command to create a vector of the even whole numbers between 29 and 73?
    11·1 answer
  • How USB FLASH Drives Store Data? Explain, Maximum 5 linesa
    10·1 answer
  • What is the latest date you can file the FAFSA if you're planning to start
    6·2 answers
  • Using the simple alphabet code below, you will decode and encode the message. Write the Full
    6·1 answer
  • Write a recursive function is_pow2(n) that returns True if the positive integer n is an integer power of 2, and False otherwise.
    9·1 answer
  • Which entry by the user will cause the program to halt with an error statement?
    12·2 answers
  • Means storing,accessing information over the internet other than hard drive and your system
    15·1 answer
  • ONLY ANSWER IF YOU KNOW HOW TO WRITE THIS CODE
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!