Computers and Technology, 03.12.2020 06:50 selfiegymnast
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: 2
Computers and Technology, 22.06.2019 11:30
Awell-diversified portfolio needs about 20-25 stocks from different categories.
Answers: 2
Computers and Technology, 23.06.2019 09:00
Which company provides a crowdsourcing platform for corporate research and development? a: mtruk b: wiki answers c: mediawiki d: innocentive
Answers: 2
Computers and Technology, 24.06.2019 18:30
What is the local portion of the e-mail address below? [email protected] a.) @ b.) biz c.) gumchewer d.) twrigley
Answers: 1
Computers and Technology, 25.06.2019 00:00
One difference of input method between most desktop computers and most tablets is the memory the touch screen the speech recognition
Answers: 1
Write a program that asks the user for their name and how many times to print it.
If I enter Ada an...
Mathematics, 26.12.2019 10:31
Mathematics, 26.12.2019 10:31
Chemistry, 26.12.2019 10:31
History, 26.12.2019 10:31
Mathematics, 26.12.2019 10:31
Mathematics, 26.12.2019 10:31
History, 26.12.2019 10:31