Write a program that has a conversation with the user. The program must ask for both strings and numbers as input. The program must ask for at least 4 different inputs from the user. The program must reuse at least 3 inputs in what it displays on the screen. The program must perform some form of arithmetic operation on the numbers the user inputs. Please turn in your .py file as well as a screenshot of your program's output. Please include comments in your code to explain how it works An example program run might look like (have fun with this and be creative): ‘What is your name?’ “Josh” ‘Thanks, Josh. What is your favorite color?’ “green” ‘Mine too. Do you also like Ice Cream?’ “No” ‘Josh, how old are you?’ “40” ‘... and how many siblings do you have?’’ “3” ‘That means you are one of 4 kid(s). Is green the favorite color of anyone else in your house?’

Answers

Answer 1

Answer:

yo im sorry eat my cookie

Explanation

doorkoeeworkwoeroewkrwerewrwe


Related Questions

Which statement regarding Java files is false?

Java imposes no structure on a file.

Notions like “record” do not exist in Java files.

The programmer must structure files to meet the requirements of applications.

Records in a Java sequential file are stored in order by record key.

Answers

Answer:

Records in a Java sequential file are stored in order by record key.

Answer:

Records in a Java sequential file are stored in order by record key.

Do you think that using robots at home would be good and helpful?

Answers

Answer:

Yes

Explanation:

 would use a robot for :

organize the bedrooms

laundry

cleaning

cooking etc...

The robot I want to use is a robot that can do everything and can be remotely controlled from anywhere. Especially do the boring task while I relax.

Q10. The percentile rank allows the researcher to determine:

a. what percentage of individuals in the sample scored above the target individual.

b. the mean for the population based on the mean for the sample.

c. how far a target individual’s score is from the group mean.

d. what percentage of individuals in the sample scored below the target individual.

Answers

I think the answer is a
Final answer:

The correct answer is option (d), which states that the percentile rank indicates what percentage of individuals in the sample scored below the target individual.

Explanation:

The percentile rank is a statistical measure that indicates the value below which a given percentage of observations in a group of observations falls. For example, to find the 90th percentile, you would identify the score k where 90 percent of the scores are the same as or below k, and 10 percent are above it. This means if you are at the 90th percentile in test scores, you scored better than 90 percent of the other test takers.

Interpreting percentiles is essential as it gives us information about the relative standing of an individual within a distribution. It is not a reflection of the actual score but instead a comparison with others' scores. Choice (d) is the correct answer to the question because the percentile rank tells us what percentage of individuals in the sample scored below the target individual.

How are CGI programs different from Servlets?

Answers

Both Java servlets and CGI are utilized for generating dynamic web statements that admit a user application, process it on the server side and deliver answers to the user.

Servlets maintain various abilities that are challenging or difficult to achieve with conventional CGI. These abilities incorporate speaking directly to the network server,  sending data within various servlets, assembly tracking and maintaining of premature calculations.

Since servlets are composed in the Java programming dialect and develop a conventional API, so a servlet can be transferred from among web server. On the other hand, CGI programs may be principles subordinate, need to be recompiled or web server dependent.

A cookie recipe calls for the following ingredients: • 1.5 cups of sugar • 1 cup of butter • 2.75 cups of flour The recipe produces 48 cookies with this amount of ingredients. Write a program that asks the user how many cookies they want to make and then displays the number of cups of each ingredient needed for the specified number of cookies in the following format: You need 5 cups of sugar, 3 cups of butter, and 7 cups of flour.

Answers

The program that asks the user how many cookies they want to make and then displays the number of cups of each ingredient is corresponds to the ingredients mentioned above.

Further explanation

Python is a general-purpose programming language. We want to write a python program that asks the user how many cookies they want to make and then displays the number of cups of each ingredient.

48 cookies = 1.5 cups of sugar + 1 cup of butter + 2.75 cups of flour, so:

def main():

   cookies = float(input("How many cookies would you like to make?\n>"))

   sugar = (1.5 * cookies) / 48.0

   butter = cookies / 48

   flour = (2.75 * cookies) / 48

   print("To make ", cookies, " cookies, you will need:\n", \

         format(sugar, '.2f'), " cups of sugar\n", \

         format(butter, '.2f'), " cups of butter\n", \

         format(flour, '.2f'), " cups of flour", sep='')

   redoQuery()  

def redoQuery():

   yn = input("Would you like to check another batch size? (y/n)\n>")

   if yn == 'y':

       main()

   elif yn =='n':

       exit()

   else:

       print("Please enter only a lowercase \'y\' or lowercase \'n\'," \

             "then press enter")

       redoQuery()

main()

The run program is shown in the attachment below.

Learn more

1. Learn more about python https://brainly.in/question/8049240

 

Answer details

Grade:  9

Subject: Computers and Technology

Chapter:  programming with python

Keywords: python

What number in base 2 is equivalent to 823 in base 10

Answers

823 in base 2 divide 823 by 2 and start writing remainder and then read remainders in reverse to get equivalant of 823 in base 10 to base 2 823 2 gt rem 1 now question of 8232 is 411 now divide this by 2 and 4112 gt rem 1 2052 gt rem

Explain why it is reasonable to assume that receiving 3 duplicate ACKs in TCP is an indication that the network is not currently congested.

Answers

Answer:

to indicate if it is the account owner trying to log in

The DSL technology is a a) Broadband b) Narrowband c) Both a) & b) d) None of the above

Answers

Answer:both

Explanation:

The process of representing data in digital form so it can be used by a digital computer is called decimal byterepresentation. - true or false

Answers

True, the process described is called decimal byte representation.
Final answer:

The process of turning data into digital form for use by a digital computer is called 'digitization', not 'decimal byte representation'.

Explanation:

As asked here The statement the process of representing data in digital form so it can be used by a digital computer is called decimal byte representation - is false. The term is not 'decimal byte representation'. The correct term for this process is 'digitization'. Digitization is the process of converting information into a digital (i.e., computer-readable) format, where the information is organized into bits. These bits can then be used by digital devices and systems including computers.

Learn more about Digitization here:

https://brainly.com/question/32174504

#SPJ2

what is a Web application?

Answers

Answer:

A web application is a computer program that utilizes web browsers and web technology to perform tasks over the Internet.

Explanation:

Web applications include online forms, shopping carts, word processors, spreadsheets, video and photo editing, file conversion e.t.c.

Write a C++ program that prompt the user to enter three points (x1, y1), (x2, y2), (x3,y3) of a triangle and

Answers

Answer:

#include<iostream>

using namespace std;

int main(){

   int x1,x2,x3;

   int y1,y2,y3;

   cout<<"Enter the value of first point(x1,y1): ";

   cin>>x1>>y1;

   cout<<"\nEnter the value of second point(x2,y2): ";

   cin>>x2>>y2;

   cout<<"\nEnter the value of third point(x3,y3): ";

   cin>>x3>>y3;

   

}

Explanation:

first include the library iostream for use the input/output commands

then, write the main function. within the main function declare the variable which store the value of points.

after that, use the 'cout' for output. It has the function which print the value or message on the screen.

and 'cin' is used to store the value in the variable.

So, in the above code cout ask for enter the value of point and after enter value by user, cin store in the variables.

Note: you have to enter two value with space or by enter.

Statistical hypothesis testing involves testing the --------------- hypothesis and then make a decision about the ___________ hypothesis.

Answers

Answer:

Explanation:

null hypothesis

alternative hypothesis

Answer:

Statistical analysts test a hypothesis by measuring and examining a random sample of the population being analyzed. All analysts use a random population sample to test two different hypotheses: the null hypothesis and the alternative hypothesis.

Explanation:

What is time-slice? How is the end of the time slice indicated?

Answers

Time-slice is a part of the preemptive process - a scheduling algorithm that will return from the running state to the ready state in a system that can favor another process in the meantime (in order to satisfy the scheduling policy's priority constraint!!!!).

Time- slice is that period of time in which a process is allowed to run in a preemptive multitasking system. The end of one is indicted by the occurrence of a signal called.

how is hardware different from sofware?

Answers

Answer:

Computer hardware is any physical device used in or with your machine, whereas software is a collection of code installed onto your computer's hard drive. For example, the computer monitor you are using to read this text and the mouse you are using to navigate this web page are computer hardware.

All software utilizes at least one hardware device to operate. For example, a video game, which is software, uses the computer processor (CPU), memory (RAM), hard drive, and video card to run. Word processing software uses the computer processor, memory, and hard drive to create and save documents.

The method used to add panels to a JTabbedPane is

newTab.
newPanel.
addPanel.
addTab.

Answers

Answer:

Explanation:

by the ecosystem

Ethernet is a standard for a) LAN b) MAN c) WAN d) All of the above

Answers

Answer:

a) LAN

Explanation:

Ethernet is a standard for a IEEE or LAN.

Answer:all of the above

Explanation:

Write a program to read 2 numbers and display the largest of the two. You should use scanfto read the two numbers and use if statement to see which number is larger

Answers

Answer: in C

#include <stdio.h>

int main(){

  int num1, num2;

  printf("Enter first number :: ");

  scanf("%d", &num1);

  printf("Enter second number :: ");

  scanf("%d", &num2);

 

  if(num1 > num2){

     printf("%d is larger than %d\n", num1, num2);

  } else if (num2 > num1) {

     printf("%d is larger than %d\n", num2, num1);

  } else{

     printf("Both of them are equal\n");

  }

  return 0;

}

Most tkinter components, like frames and buttons, have a constructor that accepts __________ as its first argument.

A. the parent component
B. the child component
C. the root window
D. a frame

Answers

D . A frame , cause that’s what most tkinter components

briefly explain what is net neutrality and why is it important today

Answers

Net neutrality also means that ISPs can't charge users access fees for particular websites. ... The goal of net neutrality is to ensure that businesses can compete freely on the internet without having to pay gatekeeper tolls. Without it consumers would look more like advertising segments than an open marketplace.

Credits: thestreet.com

how do computers benefit individuals' health care?

Answers

Answer:

By having personal health records available on a computer, more doctors have access to an individual's information. This allows doctors to view all prescriptions that a person is on, which can help protect patients from conflicting medications to be taken at once, and can save time if a patient doesn't have to redo tests and procedures because the doctor doesn't have the records.

What are the defenses to protect against these attacks?

Answers

McAfee, Norton(totally overprotective tho), if you have a Chromebook Chrome OS(even more protective), Windows Defender on Win 10...

E-commerce builds on traditional commerce by adding the flexibility that networks offer and the availability of the Internet. - true or false

Answers

True- the exchange that of goods online is such

How does 802.11g differ from 802.11b and 802.11a?

Answers

Try this explanation:

802.11a - the 1st generation, frequency - 5 GHz, max. data speed is 54 Mbits/sec.

802.11b - the 2d generation, frequency - 2.4 GHz, max. data speed is 11 MBits/sec.

802.11n - the last generation, frequency are - 2.4 & 5 GHz, max. data speed is 150 MBits/sec. and 600 MBits/sec. Supports 802.11a and 802.11b standarts.

How are arrays stored in memory?

Answers

In Java, arrays are objects, therefore just like other objects arrays are stored in heap area. An array store primitive data types or reference (to derived data) types Just like objects the variable of the array holds the reference to the array.

Hope this helps Bruv

Do you think robots will take millions of jobs when they're put in different positions such as doctors or taxi drivers?

Answers

Yes, of course.

When you replace people with technologically advanced robots, it can disturb the economic factors. Although I don't agree with using robots as an every day, common thing, such as self-driving cars or like in the question, using robots as doctors. Technology is technology, it will always need updates and sometimes they break down or need repairs, so that could provide jobs for people; tech jobs that is. Not everybody is tech savvy though, but you learn. I still don't agree with it, but it is what it is.

how are natural numbers, whole numbers, integers, and rational numbers related

Answers

Each can be a classification within another group of numbers.

For example:
All whole numbers can be natural numbers (but not the other way around)
All natural numbers and all whole numbers can be integers (also not the other way around)
All natural numbers, whole number and integers can be rational (not the other way around :):):)):))

Natural numbers: 1, 2, 3, 4...

Whole numbers: 0, 1, 2, 3...

Integers: -2, -1, 0, 1, 2...

Rational number: -2.5, -1.72, 0, 1, 3.77... (any number that can be written down)

Write and test a Python program to find and print the largest number in a set of real (floating point) numbers. The program should first read a single positive integer number from the user, which will be how many numbers to read and search through. After reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.

Answers

I can't read oooooyeaaaa

Sort the array A = [ 3, 1, 4, 1, 5, 9, 2, 6, 5] using insertion sort and illustrate your solution?

Answers

Answer:

Sorted list : [1, 1, 2, 3, 4, 5, 5, 6, 9]

Explanation:

For j= 2 to length of A

we find the place for A[j] in the sub-array A[1,..., j]

Taking i from j-1 to 1, if A[i] is greater than A[j] we shift it to right.

Which of the following statements is incorrect in relation to processes: while, strictly speaking, at any instant of time, the CPU is running only one process, in the course of 1 second, it may work on several of them, giving the illusion of parallelism a process is just an instance of an executing program, including the current values of the program counter, registers, and variables processes can be created when an operating system is booted, created by the user, or a running process can create children processes there is a master process, which when started can last forever, and is not killable

Answers

Uahahshshsbsbnd nausizjdndbdywgvshs shsjsjzua. A a 2

Assuming that your company uses the Class A network 100.0.0.0/8, with what subnet mask would you need to configure all computers on the network to divide this network 11 times to match the comany's 11 departments?

Answers

Answer:

Class A network 100.0.0.0/8, we need to divide it so that it can use 11 department, therefore 2^{4} = 16 maximum subnet. The subnet mask 255.240.0.0/12. The hosts per subnet are 2^20 = 1048574. The first 5 subnet range is attached with this question.

Explanation:

The IP address is 32 bits, The default subnet of class A is 255.0.0.0/8, but in this case we take 4 bits from host and add it to network bits so 8+4 = 12, that's why mask bit is 12.

8 bits   + 8 bits  +  8 bits  + 8 bits

100       .    0       .     0       .      0

we take 4 bits from 2nd octet so that it can use in 11 departments, so the remaining  4 bits + 8 bits + 8 bits = 20 bits

2^{20} = 1048574 hosts in each subnet

2^ {4} = 16 subnet ( 0 to 15 range)

when we subtract 255-15 = 240 so that the subnet mask is 255.240.0.0 / 12

Other Questions
Recipe ingredients remain in a constant ratio no matter how many servings are prepared. Which table shows a possibleratio table for ingredients X and Y for the given number of servings? How do the chloroplasts help the sea slug All organisms need energy to live ATP is the fuel that powers all the activities of cells. Which statement best describes how ferns, people, and flatworms obtain energy? Ferns and flatworms absorb food from their surroundings, while people must digest food found in their surroundings. Ferns produce glucose that can be broken down by cellular respiration, while flatworms and people digest foods containing glucose for use in cellular respiration. Producers such as ferns do not require a source of energy, while flatworms and humans must consume food for energy. Ferns produce ATP during photosynthesis, while flatworms and people produce ATP during digestion. Explain the three macroeconomic goals of economic systems Suppose that a father is walking his young daughter to school when a driver of an automobile negligently runs off the road and onto the sidewalk, hitting the girl but not her father. The young girl dies from her injuries. The father suffers severe emotional distress by seeing his daughter die and manifests his distress by suffering physically. Which of the following is an accurate statement regarding the father's right to sue and recover damages from the driver of the automobile?A. The father can sue and recover damages from the driver of the automobile for intentional infliction of emotional distress for the severe distress he suffered by seeing his daughter die.B. The father cannot sue the driver since tort law does not recognize strict liability for automobile accidents.C. The father cannot sue the driver since the driver did not intend to cause harm.D. The father can sue and recover damages from the driver of the automobile for negligent infliction of emotional distress for the severe distress he suffered by seeing his daughter die.E. The father cannot sue the driver since he did not suffer physical injury himself. With her motorboat at full speed Dawn gets to her fishing hole, which is 21 miles upstream, in 2 hours. The return trip takes 1.5 hours. How fast could her motorboat go in still water? What is the rate of the current? . Which conversion factor should you use first to calculate the number of grams of CO2 produced by the reaction of 50.6 g of CH4 with O2? The complete combustion of methane is described by this equation: CH4(g) + 2O2(g) CO2(g) + 2H2O(l) 44.0 g CO2 / 2 mol CO2 16.0 g CH4 / 1 mol CO4 1 mol CH4 / 16.0 g CH4 2 mol O2 / 1 mol CO2 98 points question!!!!!!!!!!!!What are the local authorities doing to fix the problem of purple loosestrifes?I need an answer ASAP. I also need a source ( from where did you get the answer) What was the platform of the Second Ku Klux Klan, and in what activities did they engage to promote it? What type of conflict is described in the passage? The rain was getting heavier with every passing minute. Claire stared out the window nervously, hoping that the rain would soon slow down. Her son Jamie was in school, and she had to go get him. Classes were let out early due to the storm, and Jamies teacher told Claire she should pick up her son as soon as possible. Claire knew that waiting to pick up Jamie wasnt a good idea, so she rushed out with her keys and umbrella. The rain was so heavy that Claire could barely see beyond her windshield. Everyone was trying to get home, and the roads were jam-packed. She felt a sense of dread for her son. She knew he was a strong child, but he had never faced a situation like this. The trees swayed heavily in the wind. Claire was afraid that one of them might uproot and fall onto her car. But she couldnt worry about that at the moment because reaching Jamie was the most important thing. A. character versus character B. character versus nature C. character versus society D. character versus self The ordinate is twice the abscissa What is logs(4.7)+logs 2 written as a single log?HPO logg21o log5 26o logg30o log 56 How do you convert 7/2^6 to decimal please? ( seven over 2 to the power of 6) Line CD passes through points C(3.-5) and D(6.0). What is the equation of line CD in standard form?5x + 3y = 185x - 3y = 305x - y = 305x + y = 18 A pyramid has a square base with side s. The height of the pyramid is 2/3 that of its side. What is the expression for the volume of the pyramid? Which of the following sentences uses the rhetorical device called repetition?A) As Martin Luther King said, "Freedom is never voluntarily given by the oppressor; it must be demanded by the oppressed."B) We must fight oppression. We must fight subjugation. We must never give up.C) Why does a human being find it necessary to fight for freedom and justice? D) A person without freedom of is like the earth without the sun. Find the center and the radius of the circle with the equation: x^2-2x+y^2+4y+1=0? 30 points Solve this what is the value of 2 5/8 7/10 What is the slope of the line that passes through the points (9, 2) and (0, 4)?The slope of the line is