[Edhesive] 4.1 Code Practice
Write a program that asks the user to enter a name, and then prints Nice to meet you NAME. Your program should repeat these steps until the user inputs Nope.

Sample Run:

Please enter a name: (Nope to end) Antonio
Nice to meet you Antonio
Please enter a name: (Nope to end) Jonathan
Nice to meet you Jonathan
Please enter a name: (Nope to end) Tyler
Nice to meet you Tyler
Please enter a name: (Nope to end) Brianne
Nice to meet you Brianne
Please enter a name: (Nope to end) Nope

[Edhesive] 4.1 Code Practice Write A Program That Asks The User To Enter A Name, And Then Prints Nice

Answers

Answer 1

Answer:

name = input("Enter a name, type Nope to end loop: ")

while (name != "Nope"):

   print("Nice to meet you " + name)

   name = input("Enter a name, type Nope to end loop: ")

   

   print("Done")

Explanation:

It works on python/Edhesive perfectly!

Answer 2

Following are the Python program to an input string value and print value with the message:

Program Explanation:

Defining the while loop that runs condition is true.Defining a variable "user_name" that uses the input method to input value from the user-end.After input value the if conditional block is used that checks input value is equal to "Nope" when the condition is true it uses the break keyword and print values with the message.

Program:

while True:#defining loop that runs when condition is true

   user_name = input('Enter your name:(Nope to end): ')#defining a variable user_name that input value

   if user_name == 'Nope':#defining if block that checks input string value equal to Nope  

       break#using break keyword

   print('Nice to meet you {}'.format(user_name))#print message

Output:

Please find the attachment.

Learn more:

brainly.com/question/18502091

[Edhesive] 4.1 Code Practice Write A Program That Asks The User To Enter A Name, And Then Prints Nice

Related Questions

What is a SCSI-1? What is it's function?

Answers

Answer:

The Small Computer Systems Interface (SCSI) is a local I/O bus that is used to connect up to seven peripherals to a host computer. A wide variety of peripherals can be connected including, hard drives, tape drives, CD-ROMs, scanners, etc. The SCSI-1 Hard Drive Interface is a Single ended data bus transmitting data referenced to ground [unbalanced]. SCSI-1 may be call narrow SCSI [or just SCSI] when the 8-bit data path is implemented, or Wide SCSI when operating with a 16-bit data bus. ... A total of 7 devices may be connected on the bus.

Which type of film would typically require the least amount of input from a screenwriter?


comedy

drama

documentary

mystery

Answers

Answer:

comedy

Explanation:

thats for the writers ig

Answer:

b: documentary

Explanation:

edg2021

What is the value of the variable result after these lines of code are executed?

>>> a = 2
>>> b = -3
>>> c = 4
>>> result = (a - b) * c

The value of result is ______.

Answers

Answer:

5 i just found the answer

like the profile from dagunrapa 3 killing harmony kokichi oma

Answer:

5

Explanation:

Keyshia wants to add movement to her PowerPoint presentation. Which tab should she use to complete this task?

Animations
Design
Format
Transition

Answers

Answer:

A on edg

Explanation:

Answer:

Animations

Explanation:

In a email to a client, Luis is requesting that they follow up with him by phone at their earliest convenience. Which feature will Luis want to use to provide his contact information?
a. closing
b. signature block
c. subject line
d. to

Answers

Answer: signature block

Explanation:

Example of hard ware that computers on a network can share are he operating and the web browser? True or false

Answers

this is false........,.......,...

Answer:

your answer would be false

Explanation:

hope this helped!

How do many corporations most likely manage the health and safety of their employees and the workplace?
Ο Ο
with guidelines provided by the EEO
only by following OSHA's rules and regulations
O by consulting workers' labor unions
with an internal office of health and safety

Answers

Answer:

The answer to this question is given below in the explanation section. However the correct option is only by following OSHA's rules and regulation.

Explanation:

Corporations most likely manage the health and safety of their emoployees and workplace only by following the OSHA's rules and regulations.

Because this is standard law that requires employers to provide their employees with working conditions that are free of known dangers. The OSH Act created the Occupational Safety and Health Administration (OSHA), which sets and enforces protective workplace safety and health standards for employees.

However, other options are not correct because these options do not cover the employees' protective workplace safety and health.

Answer:

it's b

Explanation:


As part of the IT department, you configure the employee workstations for your company. Your company's IT policies prioritize security ove
running active content. What should you disable in user's browsers to restrict active content?
А
Cookies
B
Pop-under windows
C
CSS
D
JavaScript

Answers

Answer:

A Cookies

Explanation:

I don't know if I'm right but I hope it is, but if not then can you help me

classify the situation example​

Answers

The situation is wrong and the example is right

Define the term Frame Rate.
O The size of the video file
O The amount of frames per second used when recording video.
The time length for your video
The size of the frame (height and width)

Answers

Answer:

the amount of frames per second

Explanation:

to determine how long it is

In what types of publications might you see a chart?

newspaper magazines web pages or books with only text

Answers

Answer:

The answer to this question is given below in the explanation section. however, the correct answer is newspapers, magazines, and webpages.

Explanation:

This question is about what types of publications might have a chart(s).

The correct answer is newspapers, magazines and, webpages might have charts to show data in visual form.

For example, some business newspapers, periodically magazines, web pages, or online blogs may publish charts that show or represent data in visual form for the reader to understand data easily.

What is the binary equivalent of the decimal number 138?

Answers

Answer:

10001010

Explanation:

(just basic coding I can't wrap my around :L) Which of the following shows the assignment of a string to a variable? Select 3 options.

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

answer = "23"

answer = (23)

answer = '23'

answer = 23

Answers

Answer:

The answer is A, B, D.

Explanation:

I hope this helps. Have a great day and be safe.

Omar’s teacher has asked him to send her a PDF copy of his presentation via email.

Which tab in the Backstage view should Omar use to create a PDF document?

Which option in the opened pane should Omar click?

Which option in the Publish dialog box should he mark?

How should he exit the dialog box?

Answers

Answer:

1. Export

2. Create PDF/XPS document

3. Standard

4. Click Publish

Explanation:

I got wrong on edg and found the correct answer

Answer:

1. Export

2. Create PDF/XPS document

3. Standard

4. Click Publish

Explanation:

Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0, 130) is a medium purple, (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (In other words, equal amounts of red, green, blue yield gray).

Answers

Answer:

Follows are the code to this question:

#include <iostream>//defining a header file

using namespace std; //using namespace

int main() //defining main method

{

int red,green,blue,s; //defining integer variable

cout<<"Enter value: \n ";//print message

cin>>red>>green>>blue; //input value

if(red<green && red<blue)//defining if block that checks red value

s=red;//store red variable value to s variable

else if(green<blue)//defining else if block that checks green value less then blue

s=green;//store green variable value in s variable

else//defining else block

s=blue; //store blue variable value in s variable

//calculating red, green, blue value

red=red-s;//store red value

green=green-s;//store green value

blue=blue-s;//store blue value

cout<<red<<" "<<green<<" "<<blue;

}

Output:

Enter value:

130  

50

130

80 0 80

Explanation:

In the above code, inside the Main method, four integer variable "red, green, blue, and s" is defined, in which "red, green, and blue" is used for input the value from the user end.

In the next step, a conditional statement is used, that checks the red variable value, if the condition is true, it will store its value in the "s" variable, otherwise, it will go to else if block.In this block, the green variable checks its value less than then blue variable value, if the condition is true, it will store the green value in the "s" variable, otherwise, it will goto else block.In this block, it will store the blue variable value in the "s" variable, and subtract the value of "red, green, and blue" value from "s" and store its value, and at the last, it will print its value.    

Why is Internet fraud becoming increasingly common?

Answers

The internet has billions of users, and is gaining more everyday. As people gain more and more technological resources, it becomes easier for them to steal people’s information.

What does it mean to clear a setting in a dialog box?
A) To print it
B) To turn it off
C) To delete it
D) turn it on

Answers

it would be c because you clean in it up

You created a plan for the program to find the slope, as shown below.
# Find the slope of the user's two points
# Get the points
# Calculate the slope
# Display the result
This plan is in the form of
O flowcode
O pseudochart
pseudocode
flowchart

Answers

Answer:

Pseudocode

Explanation:

Correct answer edge 2020

Answer:

Pseudocode

Explanation:

When ever you are using idle for coding, if there are number signs(hashtags) in front of the text, that means that this text is considered comments. In the lines of code, these "comments" don't affect the code. They are there as placeholders. The proper term for this is Pseudocode.

What is the internet ?



Answers

Answer:

internet is the connection of computers worldwide

Answer:

Explanation:

The internet is the wider network that allows computer networks around the world run by companies, governments, universities and other organizations to talk to one another.

if you download a virus onto ur computer which is the best way to get rid of it

A Throw ur computer on the flow when u get hacked
B immediately shut it down
C uninstall that app u just installed
D take your computer for a swim

Answers

I would think u would uninstall it

“Computers are really just simple _______________ that perform __________________ actions through many layers of abstraction.”

Answers

Answer:

The answer to this question is given below in the explanation section

Explanation:

This question is a type of fill in the blank. So the correct options to fill in the blanks are machines and complex.

       

Computers are really just simple machines that perform complex actions through many layers of abstraction.

When Creating a FPS game what basic rules would you add?

Answers

Answer:

We should add:

Explanation:

Anything red must explode if shot. Fixed mounted guns must always face away from any potential flash points and be pretty much useless. Never bring a gun to a knife fight. Never run into a room that you have just thrown a flash bang into as the grenade only effects you.. Create a world that invites, encourages, and rewards smart thinking.The game world is the real world.packages are the best way to draw out campers, pop one out into open areas and pick people off as they inevitably try to steal it from you, then when they are all dead still in and claim your UAV (or ammo crate more often than not).The only thing you can ever rely on your team to do is, give away your position, run into your line of fire and friendly flash you.If you pick up the sniper or any other power weapon someone on your team will always teamkill you for it then miss with every shot they fire using it.

Is this a Bad Cpu processor ? I need some.help ASAP I turn on my.pc and it has no display but everything is on fans and the you so.please give me.some.light on this

Answers

Either bad cpu or graphics card

The image below shows a weather service map
Which detail best describes this map?
O shows isolines and isobars
O shows types of precipitation
O was created for newspapers
O is probably not used to make forecasts
Mark this and return
Save and Exit
Next
Submit

Answers

Answer:I chose A

Explanation:

Which term is used to describe a software application that is secretly placed on a user system to gather information and relay it to outside parties usually for advertising purposes?

Answers

Answer: Spyware?

Explanation:

Jake really works well with numbers and is skilled with computers but doesn't work well with others. Which of the jobs discussed in this unit might be best for Jake? Why?

Answers

Answer:

Repair Technician (this is a guess, since im also on this)

Explanation:

A repair technician work alone most of the time and since he is good with computers, he can fix computers and not have to worry about working with others if he is too good at it, since he will satisfy so many customers and make alot of money if it is based on fixing a problem on a Computer. Since he is good with numbers, he will be able to count the fee from him having to work and fix something based on what it is.

pictures that you can click on to tell your computer what to do.

Answers

what do you mean ? I’m confused..
You might need to add picture so we can see what you need

Sandra is writing a technical paper on Graphics Design. She needs to illustrate this paper with a few images to depict certain concepts. She browses the web and comes across images she can use. However, the images she finds are copyrighted. How should she use these images?

A. She can use the image as it is
B. She can modify the image and use it
C. She needs permission from the owner
D. She will not add the image at all

Answers

Answer:

The answer to this question is given below in the explantation section. The correct option is C

Explanation:

Sandra is writing a technical paper on Graphics Design. She needs to illustrate this paper with a few images to depict certain concepts. She browses the web and comes across images she can use. However, the images she finds are copyrighted. How should she use these images?

A. She can use the image as it is

B. She can modify the image and use it

C. She needs permission from the owner

D. She will not add the image at all

Because you can not use the copyrighted items in your research without taking permission from its author(s).

If you will use without taking permission from the author, then you may face legal issues and fines etc.

Answer:

shr needs premishion from the owner

Explanation:

edmentum/plato

What are the three primary colors found on the color wheel?

Answers

Answer:

The three primary colors are red, yellow, and blue.

What is BM(of KARD)'s favorite color,I'm making a Powerpoint about K-Pop because my teacher asked me to,and for me to give them some song reccomendations(I have that covered though UwU).
Thanks!

Answers

Answer:

I don't even know but hey fellow K-Pop stannnnn

Other Questions
Which function h(x) results when g(x) is translated ITunits right and 1 unit down? Will award 70 points asap!!n is the answer 24,12?If a cell in G1 has 12 chromosomes, then in G2 there will be _________ sister chromatids, and __________ chromosomes after mitosis. Country Financial, a financial services company, uses surveys of adults age and older to determine if personal financial fitness is changing over time (USA Today, April 4, 2012). In February of 2012, a sample of adults showed indicating that their financial security was more than fair. In February of 2010, a sample of adults showed indicating that their financial security was more than fair. a. State the hypotheses that can be used to test for a significant difference between the population proportions for the two years.\ I have to put this quote in my own words Need help!-"Suspicion kissed you when I did. I never knew how I should say, my love. It were a cold house I kept!" Crucible act 4 Step by step 2 step equation: v/6-4=-5 a group set common values and traditions is called a bering land bridge Which value of n makes this equation true?3n + 355n 19OA.n=-16OB.n=-2O C.n= 2OD.n = 16 what is the mountain range located along the west coast of the united states Which word describes an artificial pond with raised edges used for agriculture? shaduf paddy aqueduct chinampa how did the practice of legalism improve life for chinese people Can someone help me answer this question :) An organization that actively goes after its competitors' loyal customers is following which strategy to keep up revenue in the maturity stage? (needed asap!!)a) marketing mix modificationb) market modificationc) product modificationd) brand extension Pleaseee hellpppppp!!!! The traits of a good leader are easily acquired.Please select the best answer from the choices provided.F In Exercises 14, find each sum or difference.start fraction 5 over 10 end fraction minus start fraction 3 over 10 end fraction A. one-fifth B. start fraction 8 over 10 end fraction C. start fraction 42 over 5 end fraction D. one-tenth can someone write a 5 sentence summary on ER plzzz Which statements are true about the graph of the function f(x) = x2 - 8x + 5? Select three options.The function in vertex form is f(x) = (x - 4)2 - 11.The vertex of the function is (-8,5).The axis of symmetry is x = 5.The y-intercept of the function is (0.5).The function crosses the x-axis twice Albert Einstein estimated that we only use about how many percentage of our brains?I will name you brainliest. Which compound forms a powerful acid and contains a halogen PLSS help i dont understand I found w =59 but dont know how to find the rest