Need Help! Asap 7.5 code practice (Edhesive)

Need Help! Asap 7.5 Code Practice (Edhesive)

Answers

Answer 1

Answer:

Make main function

def main():

Make some constants for the grades

A = 5.0 or 4.0

B = 4.0 or 3.0

C = 3.0 or 2.0

D = 2.0 or 1.0

F = 1.0 or 0.0

In the main function call the function you made and make sure to use those constants for help

also don't forget to call your main function or nothing will work

Explanation:

Making the main function is good programming practice for your future

Making the constants is also helpful to your programming.

Now how it works you call the function you wrote to calculate the grade.

I don't know how helpful this was this is one of my first answers. I am `also answering how I would do it


Related Questions

How much data can be transmitted with a digital signal?

Answers

Answer:

two possible

Explanation:

In most digital circuits, the signal can have two possible valid values; this is called a binary signal or logic signal. They are represented by two voltage bands: one near a reference value (typically termed as ground or zero volts), and the other a value near the supply voltage

HELP! WILL GIVE BRAINLYEST!
Complete the sentence describing an analog signal.
An analog signal is a continuous signal, transmitted in the form of sine waves of varying
______.

Answers

Answer:

An analog signal is a continuous signal transmitted in the form of sine waves of varying amplitude

Explanation:

An analog signal is a step varying analog waveform that conveys information in a manner that is continuous in both amplitude and time

An analog process is one whose signal continuously varies, maintains a basic shape, and is transferable between mediums such that information is conveyed by analog signals based on analogy, which is one quantity tending to mimic another quantity's behavior

Signals of sound, voltage, data, voltage, or electric current can be transmitted as analog signals

The role of the
protocol is to make sure communication is maintained.
FTP
IP
ТСР
HTTP

Answers

Answer:

Tcp

Explanation:

Question # 1 Multiple Select Which of the following shows the assignment of a string to a variable? Select 3 options. answer = "23" answer = (23) answer = '23' answer 23 answer = input("How old are you?") ​

Answers

Answer:

answer = input("How old are you?")

Explanation:

Answer is a variable The Input function takes a string

Answer:

answer = input("How old are you? ")answer = '23'answer = "23"

Explanation: Correct on Edg 2020/2021.

View which is used to specify the tables fields , their data types and properties ​

Answers

Answer:

i am hina i am grade 12 C

Explanation:

my siater name os sana

Answer:

There are 2 basic views when you work in a table: Design View and Datasheet View. Design View is used to set the data types, insert or delete fields, and set the Primary key.

Hope it helps..

Have a great day : )

HELP!!!!!!!!!!!

A program that converts a program to binary all at once and runs the entire program when finished with the conversion
Group of answer choices

Complication

Compiler

Function

No answer text provided.

Answers

Answer: Compiler

Explanation:

For which of the following situations would it be best to use a heuristic in order to find a solution that runs in a reasonable amount of time?
A Appending a value to a list of n elements, which requires no list elements be examined.
B Finding the fastest route that visits every location among n locations, which requires n! possible routes be examined.
c Performing a binary search for a score in a sorted list of n scores, which requires that fewer than n scores be examined.
D
Performing a linear search for a name in an unsorted database of n people, which requires that up to n entries be examined.

Answers

Answer:

The answer is "Option B".

Explanation:

In this question, determining the optimal path between several locations, which requires n!. It's also examining possible routes. It could just suggest here, designers need to do those equations as we have several forms. They have several methods to find the best and efficient path. Its basic idea is to use heuristic approaches for complex or uncertain issues so we do not provide proven solutions for linear programs.

The situation that should be best to use a heuristic in order to find a solution that runs in a reasonable amount of time is option B.

The following information should be considered:

For measuring the optimal path that lies between several locations that needs n!.It also examine the possible routes. It consist of various methods for determining the efficient path.

Learn more: brainly.com/question/17429689

In Outlook 2016, the Tell Me function can be accessed by
O pressing F1 on the keyboard.
clicking on the File tab, then the question mark button.
typing a query in the textbox on the ribbon.
typing "help" in the search box in the message pane.

Answers

In Outlook 2016, the Tell Me function can be accessed by

O pressing F1 on the keyboard.

clicking on the File tab, then the question mark button.

typing a query in the textbox on the ribbon.

typing "help" in the search box in the message pane.

Explanation:

I think it should be typing a query in the textbox on the ribbon.

In Outlook 2016, the Tell Me function can be accessed by clicking on the File tab, then the question mark button. The correct option is B.

What is Outlook?

The preferred email client for sending and receiving emails from Microsoft Exchange Server is Microsoft Outlook. Accessibility to contact, email, calendar, and task management tools is also provided by Outlook.

You can send and receive emails, manage your calendar, save the names and phone numbers of your contacts, and keep track of your projects using Outlook.

Even if you utilize Outlook on a daily basis, you might not be aware of all the wonderful things it can do to boost your productivity.

By selecting the File tab, then the question mark button in Outlook 2016, you may open the Tell Me feature.

Thus, the correct option is B.

For more details regarding Microsoft outlook, visit:

https://brainly.com/question/26695071

#SPJ2

How much mail can be
stored in each mail box?​

Answers

Answer:

Most mailboxes are 1 - 4 GB with one or two larger.

Explanation:

Yo, my Lenovo laptop keeps showing this screen but I can't sign in, can someone help me?

Answers

break your laptop and get a new one
Try completely restarting it 1 or 2 times and see if that works first

You created a two-dimensional array with the following code.

>>> A = [21, 'dog', 'red']
>>> B = [35, 'cat', 'blue']
>>> C = [12, 'fish', 'green']
>>> E = [A, B, C]
How do you refer to 'cat'?

E[1, 2)

E[1,2]

E[1][2]

E[1,2]

Answers

Explanation:

My answer is E[1][1]

but I don't see it here

Answer:

E[1][2] that is correct I just took t

You are going to do a bubble sort on the following list. What are the missing members of the list? Select 3 options.
[10, 3,
12
0.005
dog
3,5
'cat'
Hellllpppp

Answers

The bubble sort makes multiple passes through a list. It compares adjacent items and exchanges those that are out of order. Each pass through the list places the next largest value in its proper place. In essence, each item “bubbles” up to the location where it belongs.

[3,5,'dog', 'cat']  are the missing members of the list . Hence option d, e and f are correct.

What is bubble sort?

Bubble sort is defined as the most straightforward sorting algorithm, which continually switches nearby elements if they are out of order. Until no swaps are required, the passing operation is repeated, signifying that the list is sorted.  Bubble sort is well-known in computer graphics because it can find a very minor defect in almost-sorted arrays and fix it with simply linear complexity (2n).

This question would be something you would know since your teacher has taught you it previously, but until you show me the entire lesson, it will probably just be a guessing game. 11 12 22 25 34 64 90 is a sorted array, and I've seen "dog" and "cat" used in coding multiple times.

Thus, [3,5,'dog', 'cat']  are the missing members of the list . Hence option d, e and f are correct.

To learn more about bubble sort, refer to the link below:

https://brainly.com/question/13161938

#SPJ2

How does the technology work

Answers

Answer:  it does – or perhaps appears to do – in the world.

Explanation:

sorry if am not right have a nice day lol

Answer: technology work by chips wires in the botton of it or in the back of it and there metel in it they wire thing to it to make it better like phon

Use the drop-down menus to complete the steps to open the Lookup Wizard.

1. Open the table in ___
view.

2. Click in the ___
column of the desired field.

3. Click the ___
, and then click Lookup Wizard.

Answers

Answer: 1. design view 2. data type 3. arrow

Explanation:

I just did it :)

edhesive 6.8 lesson practice answers please ​

Answers

Answer: any more info yo can give me. i want to help i dont undestand

Explanation:

Answer:

import simplegui

import random

# global constants

WIDTH = 600

HEIGHT = 400

PARTICLE_RADIUS = 5

COLOR_LIST = ["Red", "Green", "Blue", "White"]

DIRECTION_LIST = [[1,0], [0, 1], [-1, 0], [0, -1]]

# definition of Particle class

class Particle:

  # initializer for particles

  def __init__(self, position, color):

      self.position = position

      self.color = color

  # method that updates position of a particle    

  def move(self, offset):

      self.position[0] += offset[0]

      self.position[1] += offset[1]

  # draw method for particles

  def draw(self, canvas):

      canvas.draw_circle(self.position, PARTICLE_RADIUS, 1, self.color, self.color)

  # string method for particles

  def __str__(self):

      return "Particle with position = " + str(self.position) + " and color = " + self.color

# draw handler

def draw(canvas):

  for p in particle_list:

      p.move(random.choice(DIRECTION_LIST))

  for p in particle_list:

      p.draw(canvas)

# create frame and register draw handler

frame = simplegui.create_frame("Particle simulator", WIDTH, HEIGHT)

frame.set_draw_handler(draw)

# create a list of particles

particle_list = []

for i in range(100):

  p = Particle([WIDTH / 2, HEIGHT / 2], random.choice(COLOR_LIST))

  particle_list.append(p)

# start frame

frame.start()

Explanation:

a deque is a type of collection,but it is not automatically available when you open IDLE. What is missing that allows you to use the deque class?

Answers

Answer:

Import

Explanation:

The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.

The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.

What is Import instructions?

When you transition to Shopify from another platform or need to make several adjustments to your products or inventory, importing products into your Shopify store using a CSV file might be helpful.

The data from the CSV file is transformed into products when you import products, and you can choose whether to publish your new products to all sales channels or only your web store.

You have the ability to overwrite any existing goods with the same handle when importing a CSV file. For any columns that are absent, the current values will be used.

Therefore, The import instruction does what it sounds like it imports a file class from file function from file it's very flexible.

To learn more about CSV file, refer to the link:

https://brainly.com/question/29242949

#SPJ2

List and describe 3 parts (often referred to as 'elements') of a web page?

Answers

Answer:

Content

Design

Development

Explanation:

The design and management of sites is internet explorer; it is the research that takes place over time to make a site look fantastic, work quickly and function well with a smooth user interface.

How important is the knowledge of ICT to a pupil like you?

Answers

For me it is not important

Which of the following programming languages were initially developed to teach programming techniques to students? Choose all that apply.

Answers

Answer:

BASIC programming language

Pascal programming language

Explanation:

C++ programming language

Java programming language

BASIC programming language

Pascal programming language

Answer:

it's C and D

Explanation:

Based on the following passage on construction technology during the Middle Ages, why might a worker not be allowed to join a guild?
During the Middle Ages, a family worked in a trade for generations, with fathers training sons and passing knowledge along bloodlines.
Masons learned how to carve elaborate gargoyles; glaziers made intricate stained-glass windows. These skilled workers were organized into
guilds, and on a construction site, guild workers were highly esteemed while lower-level unskilled workers completed simple routine tasks.
All laborers were paid.

He did not pass the necessary exams to qualify for guild membership

He had signed a contract forgoing payment in exchange for on-the-job training.

He was not born into a family of skilled laborers

His specialty did not fall under masonry or glazing.

Answers

Answer:

He was not born into a family of skilled laborers

Explanation:

Identifying Responses and Replies
Use the drop-down menus to complete the sentences about message response options in Outlook.
v sends your response to everyone who received the initial email.
v creates a new message that includes the initial message to a new recipient.
v sends your response to only the sender of the initial message.

Answers

Answer:

Identifying Responses and Replies by using the drop-down menus to complete the sentences about message response is written below in detail.

Explanation:

A situation like this may be:

Someone receives a bike. They travel it and all, and then all of an unexpected they fall and get injured

If you only understood the first section of how the person received a bike when you draft a response, you would only draft about that piece, but getting harm after receiving the bike is also a huge portion of the "story". You could draft like how you were so pleased when you received your first bike, but you wouldn't remember to address the time you got injured when you were riding down a hill or something.

Answer:

Reply All

Forward

Reply

Explanation:

A histogram titled Greeting card sales has date on the x-axis and cards (millions) on the y-axis. January is 1 card, February: 11, March: 1, April: 1, May: 9, June: 7, July: 1, August: 1, September: 1, October: 9, November: 7, December: 12. The histogram shows the monthly sales for a greeting card company in one year. Which best describes the data for May–June and October–December? clusters no frequency gaps symmetry

Answers

Answer:

Clusters

Explanation:

Given

The histogram

Required

What does May-June and October-December represents

The data for May-June is:

[tex]May: 9[/tex]

[tex]June: 7[/tex]

For October-December, it is:

[tex]October: 9[/tex]

[tex]November: 7[/tex]

[tex]December: 12[/tex]

Notice that these data are close to each other.

This implies that they are clusters

Answer:

the answer is a

Explanation:

Please help w/ Java, ASAP!!!!

Answers

Answer:

B

Explanation:

When you have a method that is copying values from one array into another, you first have to initialize a new array which you can copy the values into. This is done by using the provided value "count".

   int [ ] nums = new int [count];

Second, you have a "for each" loop that iterates over each index in the first array, and assigns the value at that index to the same index location in the copy array. In a "for each" loop, the variable "val" represents the content of an index, not an iterated value itself. This is why we can just do this inside the loop:

  nums[ j ] = val;

That said, you still need "j" to be there and increment because we still need a tracking value for the current index in the copy array.

   int j = 0;

   for (int val: array)

   {

     copyArray[j] = val;

    j++;

   }

Third, you return the copy version of the array.

return nums;

Source:

I am currently a second year Java student.

Any device that uses light to read and write information.

A. Optical Drive

B. Peripheral Device

C. Laser Device

D. Optical Device

Answers

Answer:

Optical Storage Device

HELP ASAP!!! What portfolio document is most likely to speak of your soft skills?
cover letter
transcript
recommendations
resume

Answers

Answer: resume

Explanation:

Answer:

recommendations was the right answer

Explanation:

I need help with this program. I need code for this . Java if statements Determine the amount of discount a person should receive. If the bill is more than 2000, then the person should receive a 15% discount. If the bill is 2000 dollars or less, the person does not receive a discount of any kind. Sample Data: 500 2500 4000 333.33 95874.2154 Sample Output= Enter the original bill amount :: 500 Bill after discount :: 500.00 Enter the original bill amount :: 2500 Bill after discount :: 2125.00 Enter the original bill amount :: 4000 Bill after discount :: 3400.00 Enter the original bill amount :: 333.333 Bill after discount :: 333.33 Enter the original bill amount :: 95874.2154 Bill after discount :: 81493.08

Answers

Answer:

The program in Java is as follows:

import java.util.Scanner;

public class MyClass {

   public static void main(String args[]) {

     double bill;

     Scanner input = new Scanner(System.in);

     System.out.print("Enter the original bill amount : ");

     bill = input.nextDouble();      

     if(bill>2000){

         bill-=0.15*bill;

     }

     System.out.println("Bill after discount: " + bill);

   }

}

Explanation:

This declares bill as double

     double bill;

This lets the program accept input

     Scanner input = new Scanner(System.in);

This prompts user for the original bill amount

     System.out.print("Enter the original bill amount : ");

This gets the bill from the user

     bill = input.nextDouble();      

This checks if the input bill is greater than 2000

     if(bill>2000){

If yes, the bill after discount is calculated as follows:

         bill-=0.15*bill;

     }

This prints the bill after discount

     System.out.println("Bill after discount: " + bill);

What might the Internet of Things do in the future?

Answers

The future of IoT has the potential to be limitless. Advances to the industrial internet will be accelerated through increased network agility, integrated artificial intelligence (AI) and the capacity to deploy, automate, orchestrate and secure diverse use cases at hyperscale.

I need to calculate the % of Grand Total on Microsoft Excel, but can't for the life of me remember how to do that. Help would be greatly appreciated.

PS: Reposting my question because the answers I got previously were both only made for points, not to help in any way. :(

Answers

Answer:

You need to first use the Sum function to add up all the costs of September.

Then divide each September cost by the grand total that you got. After that format the last column to be percentages.

Look at the attached file for the formulas used.

What are the first letters of each of the 3 main colors in javaScript? (seperate with commas)

Answers

Answer:

R, G, B

Explanation:

Red, Green, Blue

What should you do first when designing a program?

Answers

Answer: talk about da progrm

Explanation:

Answer:

Step-by step Explanation:

Other Questions
*PLEASE ANSWER, I DONT GET IT*In this poem, what do Dickinson's comparisons suggest about the human mind?a.) It is limited, narrow, and confined.b.) It is joyful, childlike, and fickle.c.) It is wide, deep, and weighty. Jill is buying new appliances. The cost of the dishwasher is $459 and the cost of the microwave is $289. What is the total price including the sales tax of 7%? Find the value of x.ZY11x 1080WX Need the help like asap!! Identify the property: (c + 5t)2 = 2c + 10tCommutative Property of AdditionAssociative Property of AdditionAdditive IdentityMultiplicative IdentityDistributive Property What is identified as a main source of factions? Here are some of the tRNA molecules in Lucy's white blood cells. Let's see if tRNA #1 is carrying the correct amino acid for its anticodon. Using the RNA Pairing Rules, find the correct codon for this tRNA's anticodon. RNA Pairing Rules A U G C Anticodon CCA Codon Type Here. Amino Acid correct answer gets brainliest.Which organism below disappears at the kingdom level? Explain why. Which of the following changes as a result of discoveries and inventions, shifts in the natural environment, and new ideas?cultureatmosphereclimatelandforms A truck with a mass of 5000 kg and transfers 800,000 newtons(N) of force when it hits a wall. What was the acceleration of the truck?a. 160 m/sb. 160 km/hrc. 160 m/s2d. 160 miles/hr Rapid reproduction is an advantage of which process? A. gamete formation B. sexual reproductionC. asexual reproduction D. chromosome duplication 1.Write the ratio 2:6 in its simplest form. Which best describes what is represented by images 1 and 2?Image 1 shows a polymer, and Image 2 shows a monomer.Image 1 shows a monomer, and Image 2 shows a polymer.Image 1 shows a macromolecule, and Image 2 shows a synthetic polymer.Image 1 shows a synthetic polymer, and Image 2 shows a macromolecule. Two spheres have a gravitational force betweenthem of 45 N. If the distance between the massesis increased to 4.0 times its original distance, whatis the new force? Speed AND direction How does hiphop use energy as a element of dance PLEASE ANSWER The sum of two numbers is 8. The difference between the two numbers is 2. What are the numbers? x + y = 8 x - y = 2 *Use the tables to list the possibilities help plz i dont undertand What is the value of x^2 3 when the value of x is 4? Portrait chinois sur Paul eat virginie (lhistoire) (exemple: si cette histoire etait...)