subject

Write a for loop that iterates 6 times. Each iteration: Put userNum to output. Then, put ":" to output. Then, assign userNum with userNum multiplied by 3. Ex:

If input is:
2

Output is:
2:6:18:54:162:486:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:00
What tool can discover and report computer errors and conflicts that occur when you first turn on a computer and before the operating system?
Answers: 1
question
Computers and Technology, 22.06.2019 22:40
In this lab, you complete a python program that calculates an employee's annual bonus. input is an employee's first name, last name, salary, and numeric performance rating. if the rating is 1, 2, or 3, the bonus rate used is .25, .15, or .1 respectively. if the rating is 4 or higher, the rate is 0. the employee bonus is calculated by multiplying the bonus rate by the annual salary.
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
The option enables you to modify a slide element in most presentation applications.
Answers: 2
You know the right answer?
Write a for loop that iterates 6 times. Each iteration: Put userNum to output. Then, put ":" to outp...
Questions
question
Computers and Technology, 24.02.2021 04:30
question
Mathematics, 24.02.2021 04:30
question
Mathematics, 24.02.2021 04:30
question
Arts, 24.02.2021 04:30
question
Mathematics, 24.02.2021 04:30
Questions on the website: 13722367