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
leonid [27]
4 years ago
15

Write a program that asks the user to enter a name, and then prints

Computers and Technology
2 answers:
Digiron [165]4 years ago
6 0

Answer:

user_name = input("Please enter a name or type Nope to terminate the program: ")

while( user_name != "Nope" ):

   print("Nice to meet you ", user_name )

   user_name = input("Please enter a name or type Nope to terminate the program: ")

Explanation:

Get the name from user as an input and store it in the user_name variable.

Run a while loop until user_name is not equal to the value of Nope.

Inside the while loop, display the name of user and repeat the question until user types Nope.

Amanda [17]4 years ago
6 0

Answer:

while True:

   your_name = input('Please Enter Your Name: ')

   if your_name == 'Nope':

       break

   print('Welcome to My Page {}'.format(your_name))

Explanation:

This program will print the name unless name is Nope. Please do make sure indentation is mentained.

Result

Please Enter Your Name: Joe

Welcome to My Page Joe

Please Enter Your Name: Nick

Welcome to My Page Nick

Please Enter Your Name: Rose

Welcome to My Page Rose

Please Enter Your Name: Nope

You might be interested in
What command enables you to initialize quotas on a file system?
jeka57 [31]
 Quotas can be enabled by mounting a partition with the usrquota (and optionally the grpquota) mount option(s).Normally this is done by editing /etc/fstab and adding usrquota to the mount options part of the entry for some filesystem.Then that <span>filesystem must be remounted ("mount -o remount filesystem").</span>
4 0
3 years ago
Match the job titles to the tasks
bija089 [108]

creates storyboards based on clients’ needs- Animator


assesses proposals for airplane designs to determine if they meet standards- Aeronautical engineer


uses special equipment and techniques to capture images- Commercial Photographer


creates software code, graphics, and multimedia elements for websites- Webpage designer

5 0
3 years ago
Read 2 more answers
Most microsoft windows fatal errors (blue scree of death) are caused by:
MAVERICK [17]
Errors in kernel mode (CPU running in ring 0) are usually fatal. This happens mostly inside device drivers.
7 0
3 years ago
This activity will help you meet these educational goals:
ololo11 [35]

Answer:

Explanation:

Content Knowledge—You will determine the importance of computer skills, organizational structures, labor laws, community programs and managerial qualities in an industry of your choice.  Inquiry—You will conduct online research in which you will collect information, make observations, and communicate your results in written form.  21st Century Skills—You will use critical thinking and problem solving skills, and communicate effectively

8 0
3 years ago
The preferred means of creating multithreaded Java applications is by implementing the ________ interface. An object of a class
Kaylis [27]

Answer:

Runnable.

Explanation:

Java is an all round programming language which is typically object-oriented and class-based. It was designed by James Gosling, developed by Sun microsystems and released officially on the 23rd of May, 1995. Java programming language is designed to have only a few implementation dependencies as possible because it was intended to be written once, and run on any platform.

Java makes concurrency to be available to software developers through the application programming interface (API) and the language. Also, it supports multiple threads of execution, by making each thread have its respective program counter and method-call stack, which then allow concurrent executions with other threads.

The preferred means of creating multithreaded Java applications is by implementing the runnable interface. An object of a class that implements this interface represents a task to perform. The code is public void run ().

8 0
3 years ago
Other questions:
  • Add the function min as an abstract function to the class arrayListType to return the smallest element of the list. Also, write
    15·1 answer
  • 1. Mobile devices have a _________ viewport that displays a web page content that fits within a mobile screen.
    11·1 answer
  • What does a computer user need to know about programming in order to play a video game?
    6·2 answers
  • 2. How do web bugs invade a person’s privacy?
    10·2 answers
  • A student has created a Book class. The class contains variables to represent the following.An int variable called pages to repr
    11·1 answer
  • Write a function named "list_concat" that takes a list of strings as a parameter and returns the concatenation of all the values
    13·1 answer
  • Someone, please answer this.
    15·1 answer
  • The following code will not compile. Which of the options below would allow the code to compile and run as intended?
    9·1 answer
  • Need help ASAP <br><br> Thankss + BRAINLIST only for correct answers
    11·1 answer
  • TensorFlow and Pytorch are examples of which type of machine learning platform?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!