answer.
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
xenn
2 months ago
13

Rewrite following program using for loop no=3456 while no>0 : print(no%10) no=no/10

Computers and Technology
2 answers:
zubka84 [1K]2 months ago
8 0
no=3456 for x in reversed(str(no)): print(x) If you convert the number to a string and reverse it, you will obtain the same outcome.
ivann1987 [1K]2 months ago
7 0
No = 3456 You're welcome; I just took a test that included this.
You might be interested in
FOREACH, EXPLODE and MAIL are examples of crazy functions.
zubka84 [1067]
The selected response is B
4 0
2 months ago
In mathematics, the factorial of a positive integer n, denoted as n! , is the product of all positive integers less than or equa
oksian1 [950]
public static int factorial(int n) { if (n >= 1 && n <=12) { if (n == 1) return 1; else return n * factorial(n - 1); } else return -1; } Explanation: The factorial method takes a single integer n as input. It checks if n is within the range of 1 to 12. If it is, it further checks if n equals 1. If it is indeed 1, it returns 1 as the factorial. Otherwise, it recursively calls itself with n decreased by 1, multiplying the result by n. If n is outside this range, the method returns -1 indicating the input is invalid.
6 0
2 months ago
Read 2 more answers
Grabar microphone audio icon_person click each item to hear a list of vocabulary words from the lesson. then, record yourself sa
Harlamova29_29 [1022]

This problem is a personal reflection and cannot be solved without discussing it after the individual provides input.

5 0
2 months ago
Read 2 more answers
The PictureBook class is a subclass of the Book class that has one additional attribute: a String variable named illustrator tha
Amiraneli [1052]

Response:

s

Clarification:

x

8 0
3 months ago
Coretta is thinking about which careers she would enjoy. She considers her personal skills and interests. She enjoys reading and
8_murik_8 [964]

Answer:

zoologist

Explanation:

5 0
3 months ago
Read 2 more answers
Other questions:
  • Accenture is helping a large retailer transform their online sales and services. The Data Analyst audits the client’s customer j
    12·1 answer
  • Assume that getPlayer2Move works as specified, regardless of what you wrote in part (a) . You must use getPlayer1Move and getPla
    14·1 answer
  • Tag groups can be nested up to ____ levels deep, with up to _______ tag subgroups under a single parent.
    14·1 answer
  • Users report that the network access is slow. After questioning the employees, the network administrator learned that one employ
    7·1 answer
  • Allan needs to ensure that an object is in a very precise location on a slide. He decides to use the Ruler option to achieve thi
    5·2 answers
  • Sketch the developments in multimedia. What do you expect to be the commercial impact of multimedia in the (near) future?
    12·1 answer
  • As part of the duties of a digital forensics examiner, creating an investigation plan is a standard practice. Write a 3 to 4 (no
    9·1 answer
  • An application specifies a requirement of 200 GB to host a database and other files. It also specifies that the storage environm
    12·1 answer
  • This program will calculate the rise in ocean levels over 5, 10, and 50 years, Part of the program has been written for you. The
    15·1 answer
  • Ellen is expecting to get a 3% raise next year. She enters .03 in cell D2 so that she can predict her monthly income for the nex
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!