dnee3051 dnee3051
  • 20-10-2020
  • Computers and Technology
contestada

Write a program that takes a three digit number (input) and prints its ones, tens and hundreds digits on separate lines

Respuesta :

Cytokine
Cytokine Cytokine
  • 20-10-2020

In python:

number = input("Enter your number ")

i = 0

while i < len(number):

   print(number[i])

   i += 1

Answer Link

Otras preguntas

Math help!? If you have a seven foot ramp and the truck bed is five and a half feet from the door, how far above the ground is the truck bed?
What's best for sinus infection steroid nasal sprays or oral steroids?
What is the setting of the story in “The pedestrian”?
"calculate the h+ in a solution that has a ph of 8.73"
Help me I don’t know this
Which country sent aid to francisco franco during the spanish civil war?
If the area of the triangle is 84 in2 squared, what is the value of x? A. 24 in B. 4.2 in C. 6 in D. 168 in
Evaluate the surface integral. s x ds, s is the part of the plane 18x + 9y + z = 18 that lies in the first octant.
A sample of tritium-3 decayed to 94.5% of its original amount after a year. (a) What is the half-life of tritium-3? (b) How long would it take the sample to dec
Cuando mi familia pasea por la ciudad, mi madre siempre (always) va al café y (pedir) una soda.nota culturalpero mi padre (decir) que perdemos mucho tiempo. tie