Write a program that asks the user for their name and how many times to print it.

If I enter Ada and 3 it should print:

Ada
Ada
Ada

Which loop correctly does this?


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

c = 1

while (c > num):
print (name)
c = c + 1

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

c = 1

while (c <= num):
print (name)
c = c + 1

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

c = 1

while (num <= name):
print (name)
c = c + 1

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

c = 1

while (c <= num):
print (name)

Answers

Answer 1

Answer:

c = 1

while (c <= num):

print (name)

c = c + 1

Explanation:

dont ask :)


Related Questions

Logical are functions used when looking for an entry or value in the spreadsheet. what is it?

Answers

The Logical function would allow you to use the spreadsheets to identify whether a scenario is True/False.  It can choose among two options depending on the outcomes of that test, and the further discussion can be defined as follows:

These selections could be used to show information, do complex calculations, or run additional tests.It offers decision-making tools for spreadsheet information. It allows to let you examine the contents of a cell or do a computation, and afterward compare the output to a specified number or value.

Learn more:

brainly.com/question/8953037

When speed increases, what happen to the value of torque?

Answers

Answer:

Torque increases as rotational speed increase from idle to a certain figure and then falls as the rotational speed increase

Explanation:

A workspace that an employee accesses using a Web browser fits the definition of a _____.

•mobile device
•Wifi-enabled device
•collaborative environment
•virtual workspace​

Answers

Answer:

virtual workspace

Explanation:

I hope I've helped

Do you think computers will be smarter than humans?

Answers

Answer: Yes, when we type something in, the computer will show you lots of things that a human can't think of. What i'm saying is, a computer thinks faster than a human.

Explanation:

Answer:

Honestly its hard to tell. If the smartest humans generate the the computers, then I definitely think its possible for computers to one day be filled with so much knowledge that they can be considered 'smarter' than humans. However, without any cognitive functions, there's no way for the knowledge to be used without the hands of a human.

_________________ is the logical operator if either conditions is True, then the whole statement is TRUE.

a.)OR
b.)Object-Oriented Programming
c.)Procedures
d.)Functions

Answers

Answer:

Assuming your using the language python, The 'or' operator

Explanation:

To explain this further, or is used in python to describe another condition whether the first one was true or false. Here is a list of what they all briefly mean:

Object-Oriented Programming allows you to create objects with specific characteristics. Ex. you could have a dog class that describes a dogs name and breed. You can make an instance and call it Max with its breed being a golden retriever etc.

----------------------------------------------------------------------------------------------------------------

Procedures independant code that just has simple instructions

----------------------------------------------------------------------------------------------------------------

Functions like object oriented programing but instead of having attributes it is a block of code that does an action. In python, unless the function is called, however, it won't do anything

----------------------------------------------------------------------------------------------------------------

'or' allows someone to give another condition whether the other conditions were True or False.

hope this helped :D

Explain what iteration is and why we need it in code

Answers

Answer:

Explanation:

When a cycle of instructions is carried out in a repeated manner, it is called a loop. It is the replication of a process in a computer program, commonly executed with the use of loops. Iteration is essential as it lets a programmer streamline a design by declaring that definite steps will be repeated.

Drag the tiles to the correct boxes to complete the pairs.
Match the OOP concept to its definition.

Answers

Answer:

Operation open purpose

Answer:

attach the question?

Explanation:

!PLEASE HELP! My business office specialist class, this is about Access.

Which settings are available in the Options dialog box? Check all that apply.

the name of the user or the initials
the images to include in a database
the object types to include in tables
the default format for new databases
the default folder for storing databases
the folders containing trusted databases
the number of databases to save in each folder

Answers

Answer:

b

Explanation:

Answer:

Probably late but the answers are

A: the name of the user or the initials

D: the default format for new databases

E: the default folder for storing databases

F: the folders containing trusted databases

Images, symbols, and diagrams are types of

art objects
Graphs
graphics
presentation objects

Answers

Answer:

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

Explanation:

The correct answer to this question is :

Graphics

Because Graphics are the visual representation of information without text. Images, symbols, and diagrams are types of graphics. These graphics can be used in presentations to present information visually.

While other options are not correct because:

Art objects are some images or painting that is the artistic creation of aesthetic value. While graphs are the visual presentation of data and there are different presentation objects in PowerPoint such as images, symbols, text, and diagrams, etc. But it is noted that images, symbols, and diagram are not types of presentation objects but it is a type of graphics elements/objects.

what is the difference between EPROM and EEPROM, explain why​

Answers

Answer:

The main difference between EPROM and EEPROM is that, the content of EPROM is erased by using UV rays. On the other hand, the content of EEPROM is erased by using electric signals. In EPROM, UV light is used to erase the EPROM's content. In EEPROM, electric signal is used to erase the EEPROM's contents :)

Explanation:

HOPE THIS HELPS <333

Jared has trouble remembering when his assignments are due, and he wants to keep reminders on his computer. Which online note-taking tool would be the best one to use?

Answers

Answer and Explanation:

Google Keep & Google Reminders

Google Keep is an online stick-note tool, that also has an online reminder tool as well. You can also use another platform for reminders such as Google Reminders. Both platforms are easy, online and simple to use!

Answer: electronic sticky notes

Explanation:

:)

What are some real-life situations that require a program that is iterative? Include at least three examples in your answer.

Answers

Hello :D

Your answer should be:

Apple has released multiple different versions of each model of its iPod products. The Nano, for example, has evolved from an original slim mP3 player with a very small screen to a tiny square touch-screen version to a longer, thinner touch screen version.

Hope this helped!

Brainliest appreciated :3

Decomposition is
O a list of steps to complete a task.
O a set of steps that follow one another in order.
O breaking a problem into smaller parts
O a design flaw in the program.

Answers

Answer:

breaking a problem into smaller parts

Explanation:

In language of computer science, decomposition is the process in which complex problems are divided into simpler parts. These simpler parts helps in the solving of the complex problems. They are made easier and comprehensible for the user to understand. Each simple part is further analyzed separately and the solution of the complex issues are derived.  The process becomes lengthy but the solution is found.

Ask the user to input a number less than 100. Print all the numbers from that number to 100.

Which loop correctly does this?


num = int (input("Enter a number between 1 and 100: "))
c = num

while (num 100):
print (c)
c = c + 1

num = int (input("Enter a number between 1 and 100: "))
c = num

while (c <= 100):
print (c)
c = c + 1

Answers

Answer:

The second one:

num = int (input("Enter a number between 1 and 100: "))

c = num

while (c <= 100):

print (c)

c = c + 1

Explanation:

First of all, you don't know Python... (LEARN IT)

Second of all, The first loop doesn't make sense? num 100

And the second one works, you can try compiling it (lazy to explain...).

Answer:

num = int (input("Enter a number between 1 and 100: "))

c = num  

while (c <= 100):

  print (c)

  c = c + 1

Explanation:

Prebuilt colors from a document are called

Answers

Answer:

Theme

Explanation:

Theme. a pre-built set of unified formatting choices including colors, fonts, and effects. Format. to change the appearance of text. Font.

What is a prominent method for involving experts and power centers in a large-scale project where their views and expertise can be taken into account early in the project? feasibility study stakeholder process waterfall method business case

Answers

Answer:

feasibility study

Explanation:

In feasibility studies, the assessment of the practicality of a proposed project is made and the relevant factors of the project is usually being taken into account, which includes economic, technical, legal and scheduling considerations.  

Various project managers use feasibility studies to know the pros and cons of getting involved in a project before they can embark on it.  

How many passes will it take to find the five in this list?

1, 5, 10, 15, 20, 22, 30
3

1

4

2

Answers

Answer:

1 im prety sure

Explanation:

Answer:

2

Explanation:

is the correct answer

good luck

The first computers invented were loaded (‘fed') with programs written on punch cards. Each program took hours to be processed. The computer system was single programming because only one program at a time could be loaded and processed. What was / is the name of this type of system

Answers

Answer:

Data processing system

Explanation:

Data processing systems DPSs are digital systems that receives data, processes it and use the information to control semi-automated machineries. In the past, the DPS receives digital data or one instruction at a time from a punched card.

Choose the term that best completes each sentence.

abstraction hides the details about a specific piece of information.

abstraction hides the details about a specific process.

data
procedural

Answers

Answer:

The answer to the above questions is given in explanation section:

Explanation:

abstraction hides the details about a specific piece of information.

The suitable match for this is Data

Because the word "Piece of information " can only be referred to data not to process.

Now look at the second

abstraction hides the details about a specific process

The suitable match here is procedural.

because specific process can only be referred to procedure not to data.

Answer:

The suitable match for this is Data

Because the word "Piece of information " can only be referred to data not to process.

Now look at the second

abstraction hides the details about a specific process

The suitable match here is procedural.

because specific process can only be referred to procedure not to data.

HELP!!!

To help ensure that an HTML document renders well in many different web browsers, it is important to include which of the following at the top of the file.


A) an html tag

B) a doctype declaration

C) a body tag

D) a head tag

Answers

Answer:

The detail answer of this question is given in explanation section.

The simple answer is option B

Explanation:

Let took at each option:

A) an html tag

An html tag is used to start and end html document. It does not have anything to do with rendering.

B) a doctype declaration

The document type declaration is necessary because it tell the browser which version of html should be rendered.

C)Body tag tell the browser. it is the visible area of website.

D) A hear tag is used to clear meta data about website.

Answer:

I think it is:

B. a doctype declaration

Explanation:

3.
An open path has these, but a closed path does not.
a. endpoints
b. terminators
c. segments
d. anchor points

Answers

A endpoints is the correct t answer

PLEASE HELP AND HURRY!!!

Which command group on the Format tab of the SmartArt Tools contextual tab allows a user to change the fill and outline of SmartArt shapes?

Shapes
Shape Styles
Arrange
Size

Answers

Answer:

Shape Styles

Hope this helps :)

Mark me brainiest

Explanation:

What voting rights law did you choose?

Answers

Answer:

FREE AND FAIR ELECTION

Answer:

I Dont even know.. to be honest

Explanation:

Can someone help me and make a code for this in PYTHON, please? I would be very grateful!
It is estimated that China on July 1, 2019. had 1,420,062,022 inhabitants. The population of China increases by 0.35% every year. Assuming that the annual population growth in China will not change, show the expected population of China in the next ten years.
Please... Thanks in advance!

Answers

Code:

next_ten_years = 1420062022*1.0035**10

print(next_ten_years)

Output:

1470554353.1178253

Explanation:

Since the population of inhabitants increases by [tex]0.35\%[/tex] each year, the total population must be [tex]100.35\%[/tex] of the previous year's population (since it includes the previous size of the population and the [tex]0.35\%[/tex] increase of the population)

The math:

Expected population in next 10 years = [tex]1420062022 \times 1.0035^{10}[/tex]  ([tex]100.35\%[/tex] is [tex]1.0035[/tex])

Code:

Looking at the code above, the '**' raises the power of a number to the number you put after the operator, so 1.0035**10  is [tex]1.0035^{10}[/tex]. The '*' operator multiplies the two numbers that are placed before and after the operator, so 1420062022*1.0035 is [tex]1420062022\times 1.0035[/tex].

The expected population in the next ten years is 1,470,554,353 (if we round to the nearest inhabitants since there can't be a decimal amount of inhabitants).

Hope this helps :)

Sam recorded himself practicing a speech. He watched the recording and observed the behaviors. Which behaviors should Sam try to change? Check all that apply.

varying his rate in different parts of the speech
saying "like" several times a minute
demonstrating enthusiasm for the topic
pausing frequently in the middle of sentences
having a rising intonation at the end of many statements

Answers

Answer:

b d e

Explanation:

Answer:

b d e

Explanation:

Other Questions
Gemma wrote the equation for a linear relationship below. y = 3x + 5 If x equals 9, what is the value of y? y = _____ (ELA) When you figure out things about a story's narrator and then explain your thoughts, you are:A. predictingB. analyzingC. questioningD. writing What is equivalent to 6 exponent 8 What caused the split between Sunnis and Shias, the two major sects of Islam?A. Political disagreements about how to set up the Islamic caliphateB. Theological disputes about the MessiahC. Disagreements about how to choose leadership in the religion after the death of MuhammadD. Disagreements about the distribution and production of oil and natural gas in the region 1. Name the following notes in the treble clef:Measure 1, beat 1:Measure 2, beat 1:Measure 3, beat 1:2.In order name all of the notes in the first measure of the bass clef3.which accidental is used in measure 15? How does this accidental alter the original note?4.What does the dynamic marking mf mean in the measure 1?5.What do the dots above the repeated notes in measure 2 mean? need help asap!! please n ty...Question 1(Multiple Choice Worth 4 points)(02.01)The figure shows a pair of parallel line segments on a coordinate grid:The line segments are translated 2 units to the left to form J'K' and M'N'. Which statement describes J'K' and M'N'?A) Line segments J'K' and M'N' do not intersect and are closer together than JK and MN.B) Line segments J'K' and M'N' intersect at (2, 0) and are two times farther apart than JK and MN.C) Line segments J'K' and M'N' intersect at (0, 2) and are two times closer together than JK and MN.D) Line segments J'K' and M'N' do not intersect and are the same distance apart as JK and MN. The length of a rug is 5 yards. What is the length in inches? In which region do rivers flow into a basin but evaporate before they make it to a larger body of water?A.the Coastal PlainsB.the Great PlainsC.the Great BasinD.the Everglades Please help me, i can't get this question wrong, please and thank you. Whats one message you would tell your ex if you miss him/her a girl is heartbroken here get me in my feels XD 4. slope: -y-intercept: -2 The development of a number system which allowed for complex calculations is attributed to the1. han Dynasty2. Babylonian Empireqqqq3.Egyptian Civilization3.Gupta Empire hello pls help can you tell me if I got these right Which excerpt from the article best supports your answer to question 4?O The government declined to release an explanation for what was recorded in these videos.O The U.S. government used Area 51 to cover up aliens and UFOs.It means that someone saw something in the sky and wasn't able to determine what exactly it was.Ancient cave paintings around the world do show images that resemble non-human beings and flyingobjects in the sky. many blank are grown in our blank Find the length of the rectangle if the perimeter is 244 yards the length is 18 less than three times the width? When is shrek 5 coming out i must know so I can take the children trapped in my basement to go watch it GORANNARGO MYSETSOMSRANOGLECLSUSTIEUnscramble these words plssss where should I put the commas "I gave an employer 7 resumes of graduates to interview. He called to do a phone screen and schedule interviews. Guess how many interviews he scheduled? Zero. People didnt answer their phone, their voicemail was full, had disconnected numbers (they didnt update the CS resume), or had crazy music as their voicemail. Do you want to miss a job because of that? When someone says to me, 'but no one is calling me for an interview', this is the first thing I think of."Reflection Question: After learning about the phone screen process, what do you need to do to prepare for your phone screens?