3.6 code practice (edhesive)

3.6 Code Practice (edhesive)

Answers

Answer 1

largest = int(input("Enter a number: "))

print("Largest: {}".format(largest))

i = 0

while i < 5:

   num = int(input("Enter a number: "))

   if num > largest:

       largest = num

   print("Largest: {}".format(largest))

   i += 1

I hope this helps!

Answer 2

The program illustrates the use of conditional statements and iterations

The complete program in Python is as follows, where comments are used to explain each line.

#This gets the first input from the user

userNum = int(input("Enter a number: "))

#This prints the first input as the largest

print("Largest:",userNum)

#This assigns to largest, the value of userNum

largest = userNum

#The following iteration is repeated 5 times

for i in range(5):

   #This gets another input from the user

   userNum = int(input("Enter a number: "))

   #This checks if current input is greater than the current largest input

   if userNum > largest:

       #If yes, this assigns to largest, the value of userNum

       largest = userNum

   #This prints the current largest input

   print("Largest:",largest)

In each iteration, the program prints the current largest input

See attachment for the sample run

Read more about iteration and conditions at:

https://brainly.com/question/18809878

3.6 Code Practice (edhesive)

Related Questions

3.4 lesson practice

Answers

Answer:

The answer is A. Second Half of the month.

Explanation:

If Im reffering right to the source. So If you doing Chapter 3 Comp. Science. Than this is right.

Answer:

A

Explanation:

Which is the most popular language used in game programming?

A.binary
B. C++
C. CGI
D. Flash

Answers

Answer:

B C++

Explanation:

The two most common languages for game designers to learn are C++ and Java, although other languages are popular (such as C# for Unity). Another type of programming you may hear referred to is scripting, but that essentially comes down to a type of systems programming.

Answer:

b

Explanation:

i just know it

I'm not sure how to do these.

Answers

Answer:

JAVA

TASK 1

float float75 = 75; # widening casting are done automatically.

String string75 = String.valueOf(75);

float75 + string75 = Error: As the compiler doesn't know how to approach this, are you trying to add float to unicode charcters, if there is a value in this string, CAST it out, EXORCISE

TASK 2

import java.util.Scanner;

class MyClass {

public static void main(String[] args) {

Scanner myObj = new Scanner(System.in); // Create a Scanner object

System.out.println("Enter Float number");

float number = myObj.nextFloat();

System.out.println(number ** 2);

TASK 3

import java.util.Scanner;

class MyClass {

public static void main(String[] args) {

Scanner myObj = new Scanner(System.in); // Create a Scanner object

System.out.println("Enter number");

int number = myObj.nextInt();

int quotient = number / 7;

int reminder = number % 7;

System.out.printf("When you divide %d by 7, the quotient is %d and the reminder is %d ", number, quotient, reminder);

TASK 4

import java.util.Scanner;

class MyClass {

public static void main(String[] args) {

Scanner myObj = new Scanner(System.in); // Create a Scanner object

System.out.println("How many gigabytes is your flash drive");

int gigabytes = myObj.nextInt();

long numBits = gigabytes * 8000000000

System.out.printf("Number of bits in your %d flashdrive: %ld Bits", gigabytes, numBits);

Select the correct answer
in the context of website navigation, what is a node?
a point at which the user chooses a certain path
a part of a web page that gives it a unique identity
a navigational aid that tells users know where they are
a hyperlink that leads to the home page

Answers

Answer:

a point at which the user chooses a certain path.

Answer:

a point at which the user chooses a certain path.

Explanation:

A computer connected to the internet that asks for data is a(n) ________

Answers

Answer:

Client

Explanation:

Answer:

Client

Explanation:

The client makes a request for a service, and a server performs that service.

You are interested in receiving more information about a special topic, including emails, announcements and advertising. What can you do? Group of answer choices Bookmark Websites about the topic on your favorite browser. Join a newsgroup about the topic. Subscribe to a listserve group about the topic. Set your browser's home page to a topical Website.

Answers

Answer:

The answer is "Subscribe to a listserve group about the topic".

Explanation:

A Listserv would be a software suite that is used to run a discussion list through community e-mail. Even so, LISTSERV is indeed a trademark of L-Soft Global who created some of the first and most famous mailing list programs.

It is a way to communicate by e-mail to a community of people. They send an e-mail to "reflecting" and the software gives an e-mail to all subscribers of both the Group.

Which tools are found in the Quick Analysis feature? Check all that apply.
Table
pivot table
sum
count
more
row evaluation

Answers

Answer:

A, C, E

Explanation:

Answer:

A,B,E

Explanation:

just did it on edge2020

Go to your Canvas course and locate the Assignment: Writing Prompt 1: Is the Internet making us Meaner?and complete the activity.


When you are finished, come back here and copy/paste the following as your answer below:


I have completed the Writing Prompt 1: Is the Internet making us Meaner? activity and submitted my assignment in CANVAS. By pasting this text below. I understand that the grade marked here is NOT the grade for the actual assignment and only a place holder for the grade I earn in Canvas.

Answers

Answer and Explanation:

The Internet is not changing anything other than making you extreme. The nice become nicer, the mean become meaner, the nice become mean, and the mean become nice. The internet just makes things easier to do. It really isn't a factor in if you are mean or not.

Answer:

Explanation:

POV: you didn’t find your answer

Question #1
Multiple Select
Which collections can contain duplicate items?
deque
O dataset
O list
tuple
organizer

Answers

Answer:

Deque

Tuple

List

(Did it on Edge)

In this exercise we have to use python knowledge to identify which ones can be used with duplicate terms, like this;

it is the List

What is a list in Python?

A list in Python is an ordered sequence or collection of values. Each value in the list is identified by an index. The values ​​that form a list are called elements or items.

See more about list in python at brainly.com/question/26104476

PLEASE HELP MEEE I WILL GIVE BRAINLIEST


What is a possible value for the horizontalInput variable? Remember Input.GetAxis returns a float value between -1 and 1

Question 6 options:


-10


0.52


“Right”


Vector3.Up

Answers

Answer:

0.52

Explanation:

what is the branching factor of the following tree?

Answers

Answer:

a is the branching factor

Answer:

B, 2 factor

Explanation:

Which ribbon tab is not a default in Outlook 2016's main interface?
O Home
Send/Receive
O Folder
O Review

Answers

Answer:

review

Explanation:

round 9572to the nearest 1000

Answers

Answer:

10,000

Explanation:

Since the 5 is behind the thousand place, which is 9, we round according to 5. Although 5 is in the middle of 1 and ten, it rounds up to ten. Therefore, your answer is 10,000.

10,000 if the hundredth number is 5 and above then you can round the thousandth number to 10 which gives you 10,000

Which option helps you choose the design of a slide in a presentation?

Answers

Answer:

Wut options??

Explanation:

Bert is familiar with multiple operating systems. His primary work revolves around repairing and upgrading computers. What is his role at his company? ОА Network Administrator OB. Network Technician Network Engineer OD. Network Manager ​

Answers

Answer:

I think its B

Explanation:

Because only technicians do that kinda stuff. Sorry if incorrect

Question #8
Fill in the Blank
What is the output of the following program?
>>> phrase = "help me"
>>> len(phrase)

Answers

Answer:

The other person is correct the answer is 7

Explanation:

I got it right on edge

Answer:

7

Explanation:

I know I wasn't first to answer but give me brainliest plz.

What makes this information systems environment unique? (3 points)

Answers

Information technologies are unique not just because of their growing use in decision-making and knowledge management systems, important as that is. Their use has also yielded significant improvements in the efficiency of energy and materials use.

Alisa Miller reports that the number of Americans who closely follow overseas news:

A.) decreased by 30 percent in the past 20 years.

B.) jumped to more than 50 percent in the past 20 years.

C.) will double over the next 20 years.

D.) doubled over the past 20 years.

Answers

Jumped to more than 50 percent in the past 20 years

What changes should be made in OSI model(Open System Interconnection).

Answers

Answer:

Explanation:

When most non-technical people hear the term “seven layers”, they either think of the popular Super Bowl bean dip or they mistakenly think about the seven layers of Hell, courtesy of Dante’s Inferno (there are nine). For IT professionals, the seven layers refer to the Open Systems Interconnection (OSI) model, a conceptual framework that describes the functions of a networking or telecommunication system.

The model uses layers to help give a visual description of what is going on with a particular networking system. This can help network managers narrow down problems (Is it a physical issue or something with the application?), as well as computer programmers (when developing an application, which other layers does it need to work with?). Tech vendors selling new products will often refer to the OSI model to help customers understand which layer their products work with or whether it works “across the stack”.

Layer 7 - Application

To further our bean dip analogy, the Application Layer is the one at the top--it’s what most users see. In the OSI model, this is the layer that is the “closest to the end user”. It receives information directly from users and displays incoming data it to the user. Oddly enough, applications themselves do not reside at the application layer. Instead the layer facilitates communication through lower layers in order to establish connections with applications at the other end. Web browsers (Google Chrome, Firefox, Safari, etc.) TelNet, and FTP, are examples of communications  that rely  on Layer 7.

Layer 6 - Presentation

The Presentation Layer represents the area that is independent of data representation at the application layer. In general, it represents the preparation or translation of application format to network format, or from network formatting to application format. In other words, the layer “presents” data for the application or the network. A good example of this is encryption and decryption of data for secure transmission - this happens at Layer 6.

Answer:

go darlin

Explanation:

6. An example of a private network is.
•internet
•wi-fi
•modem
•router

Answers

Answer:

a. internet

because all the others are public

Answer:

the answer is A

Explanation: hope this helps

edhesive 2.3 code practice question 1​

Answers

Answer:

a=int(input("Enter a numerator: "))

b=int(input("Enter a divisor: "))

quotient=a/b

remainder=a%b

print("Quotient is: " + str(int(quotient)))

print("Remainder is: " + str(int(remainder)))

Explanation:

Hope this helps :)

one advantage of using online note-taking tools is that they help students to

a) get organized

b) read faster

c) avoid taking tests

c) avoid studying

Answers

Answer:

the correct answer is A

Explanation:

hope it helps

Answer:

a

Explanation:

Which program will have the output shown below?

5
6
7

>>> for count in range(4, 7):
print(count)

>>> for count in range((4, 8):
print(count)

>>> for count in range(5,7):
print(count)

>>> for count in range(5, 8):
print(count)

Answers

for count in range(5, 8):

   print(count)

This will produce.

5

6

7

I hope this helps!

Answer:

>>> for count in range(5, 8):

print(count)

Explanation: got it right on edgen

100 points! What categories would you need to access to create a full program where a sprite paints a square on the screen?
A.
Motion, Pen, Control, Sensing
B.
Events, Pen, Looks, Operators
C.
Events, Pen, Motion
D
Variables, Pen, Operators

Answers

Answer:

i think its A. but im not sure

Answer:

A

Explanation:

I took the test and this was right

What is the speed of Android operating system?

Answers

Answer:

There isn't an exact android speed due to a variety of androids. But there are very fast like the HTC 10 or a Samsung Galaxy.

Explanation:

1. Describe how research and development influence design. Cite specific examples of how research and development influence design problems that are not presented in a clearly defined form.​

Answers

Answer:

so i research and found this,

Development is when findings of a research are utilized for the production of specific products including materials, systems and methods. Design and development of prototypes and processes are also part of this area. Engineering is utilization of these plans and research to produce commercial products.

Research and development, also known as R&D, is the acts taking to find out more about an item, idea or phenomenon, in order to come up with new services and products with the aim of increasing revenue and profit

1. Research and development enables a company to remain viable by providing an edge in the market amongst competitors such that without research and innovation a company may not survive

Therefore;

Research and development influence design by being the basis of the design effort, thereby redirecting the kinds of products that are available for purchase

Examples Showing how Research and Development Influence Design Problems

Examples of how research and development influence design problems that are not presented in a clearly defined form are;

The research and development of the MOS integrated circuit that lead to the change in size and performance of electronics and brought about the personal usage of computersThe research and development of the personal computer that changes the design of work planning and communication strategy amongst organizations and individuals The research and development of the gasoline powered tractor that changes the design for mechanization on a farm

Learn more about research and development here:

https://brainly.com/question/2938243

https://brainly.com/question/13954765

What is the default zoom percentage in Word?

Answers

Answer:

50%

100%

150%

200%

Explanation:

does anyone knows how I can remove those people at the bottom In google photos it’s not showing up in google contact help

Answers

Maybe refresh all your Safari apps

What game is this ?? Helppp me

Answers

Call of Duty

Hope this helps you broski

what do u do to me pepa

Answers

Peppa: Hello Susie!

Susie: *mehhh* Hello Peppa!
What are you doing?
Peppa: I'm learning to whistle,

but I can't do it yet.
Susie: Hmm.. that sounds hard.
Peppa: It's impossible!
Uh.. can you whistle Susie?
Susie: No

Peppa: *honk* Oh good! I mean-
that's sad if you can't whistle

but good because I can't whistle

Susie: What's whistling anyway?
Peppa: You put your lips together
and blow!
Susie: Like this? *whistles*

Answer:

903-780= 123

we know this because 123 = 123 and that is the answer

Other Questions
In the diagram, what is AC?A. 6B. 12.33C. 10D. 12 Hi guys! Quick question... sweet or savory?? Check all that apply. Why are employers wary of hiring inexperienced workers? - They do not know how to work. - They have no track record (of character). - They require training. - They may not be reliable. What effect does the letter have on Brutus ? I NEED SOMEONE TO GIVE FEEDBACK FOR THESE PARAGRAPHS RIGHT NOW! I AM GIVING BRAINLIESTDirections: Read and analyze the 4 paragraphs from our classes' Personal Narrative assignment. In a Google Doc or Slides analyze EACH paragraph by identifying the errors and providing specific feedback on how to improve each one. The paragraph must have a triumph.*You are NOT allowed to inquire about the author of the paragraphs. This will result in you losing points off YOUR grade.*PARAGRAPHS:1. A time l got a great Victory was in Florida, I was playing footballgames with my team and I. We needed to make it to thechampionship so we played our first 3 games and won those games.So when we advanced to the championship it wasnt really easy. Wewent to overtime and they played their drive. They didn't score mostlikely because their touchdown kept getting called back. Then whenwe played our drive we scored ended up winning the rings.2. A time l got a great Victory was in Florida, I was playing footballgames with my team and I. We needed to make it to thechampionship so we played our first 3 games and won those games.So when we advanced to the championship it wasnt really easy. Wewent to overtime and they played their drive. They didnt score mostlikely because their touchdown kept getting called back. Then whenwe played our drive we scored ended up winning the rings.3.When I was younger, about 3 or 4 years old. My parents had a car accident with my moms old red van. We had been going to a store to get some clothes in Greenbelt, and on the Beltway. Someone that my mom knew crashed into us. None of us were severely hurt, but the next day we had to go to the hospital for a check-up. I ended up being in a cast for about 1 week and a half, as doctors said that I broke my arm. I was still able to do things with that arm, just couldnt do as much as I usually would. For example, I could feed myself and others, but couldnt do some at-home exercises like pushups. 4.My challenge that led to a triumph was when my family cameto stay at my house for a couple hours and I could not thinkof a challenge that led to a triumph until they left I realizedthat they were a distraction and I could not figure out how tocomplete this assignment then I realized that one challengethat led to triumph was when I got a bad grade and I figuredit was my focus and I changed spaces to do class in myhouse I am more productive I get my stuff done and I feelmore relaxed and excited for the next day.And that's mypersonal narrative.IF SOMEONE COULD PLEASE SEND FEEDBACK ON ALL OF THESE BY MIDNIGHT, IT WOULD BE GREAT! I NEED FEEDBACK ON THESE AS MY ASSIGNMENT. I AM GIVING BRAINLIEST! If y = -6 when x = 16, find y when x = 8. The sides of a rectangle are scaled to be 1/4 of their original sizeWhat describes the effect of the scaling on the surface area?A. The surface area of the new prism is 1/4 as large as the original prism.B. The surface area of the new prism is 1/8 as large as the original prism.C. The surface area of the new prism is 1/16 as large as the original prism.d. The surface area of the new prism is 1/24 as large as the original prism. 1. Some cats are actually allergic to humans2. The majority of your brain is fat (not like overweight but actual fat)3. Oranges aren't naturally occurring fruits Are bonds broken or formed, throughout each phase change present on a heatingcurve? what are the ecological levels from smallest to largest can someone help me:) thank you! Radical Republicans opposed President Lincoln's plan for Reconstruction because they thought it was too O moderate. O liberal. extreme. O unpopular. Consider the system of equations below. What could be the first step in solving by elimination? 3x + 5y = 16 and 3x + 2y = 10 A. Add the two equations together. B. Add 5 to both sides of the first equation.C.Add 5 to both sides of the first equation.D.Multiply the second equation by 2. Chaz kept a record of how many gallons of gas he purchased each day last week. Drag and drop the days into the correct boxes to order the days from the least amount of gas Chaz purchased to the greatest amount of gas Chaz purchased.Day Gas (in gallons)Monday 4.5Tuesday 3.6Wednesday 4.252Thursday 3.71Friday 4.255 Give FIVE SENTENCES of: Why do you think it is important to write a letter of consent when conducting a survey? Hi i just need someone to check my work. I did an assignment on English Language paper 2 question Q2. I got some feedback from my teacher but i don't really understand them. for the highlighted sentence she said it was unclear????also she gave me an ebi of what i should do better next time. can you like explain it to me and also help me of how i can apply this to my work to improve it?thx Which law is described by saying that when the pressure of a gas in a sealed container is cut in half, the gas will double in volume at a steady temperature? Boyles law Charless law Daltons law Gay-Lussacs law How do you- I cant think t-thelp 3x+5=23 what is the value of x? 250 ml glass of lemon juice contains 20 grams of sugar. How much sugar is in 500 ml bottle-flemon juice?[0.5) * BS0.5 Points)