1answer.
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
sweet-ann [11.9K]
3 years ago
9

Python exercise grade 10

Computers and Technology
1 answer:
Marysya12 [62]3 years ago
3 0

while True:

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

   if num == 0:

       break

   first = num // 100

   second = (num // 10) - (first * 10)

   third = (num - (first * 100)) - (second * 10)

   reversed_digit = (third * 100) + (second * 10) + first

   if 9 < num < 100:

       reversed_digit = reversed_digit // 10

   elif num < 10:

       reversed_digit = reversed_digit//100

   print("The reversed digit is:",reversed_digit)

I wrote my code in python 3.8. I hope this helps.

You might be interested in
Edmund wants to visit his office website. Which software application would he use?
ollegr [7]
He would use a browser!
3 0
4 years ago
Read 2 more answers
Please help! Research the critical new developments in telescopes, and telescopic lenses. Write a 200 word paper on the new deve
maxonik [38]
Well start off explaining what the new developments in telescopes are and go from there. Here's an example: Telescopes are evolving with new developments lets talk about them.
-
-
Please Mark Brainliest!!
4 0
4 years ago
Read 2 more answers
What is the computer's main memory, which consists of the random access memory (ram), cache memory, and read-only memory (rom) t
Nata [24]
Hey there!

The main memory of a computer that includes RAM, ROM, and cached information that is accessible through the CPU is called primary storage. These memory/storage types deal directly with how the computer functions and runs. The other type of storage is called secondary storage and refers to storage that isn't directly connected to the CPU, such as the hard drive. 

Hope this helped you out! :-)
5 0
3 years ago
Which functions are available in a Word table? Check all that apply.
dexar [7]
All of them are available
3 0
3 years ago
You are the network administrator for a company and you want to separate the traffic from the accounting department from the res
vichka [17]

Answer:

internetwork

Explanation:

According to my research on information technology, I can say that based on the information provided within the question the type of network that should be implemented is called an internetwork. This refers to interconnecting different types of networks to build a large, global network" such that any pair of connected hosts can exchange packets.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

3 0
3 years ago
Other questions:
  • Name format Many documents use a specific format for a person's name. Write a program whose input is: firstName middleName lastN
    14·2 answers
  • What is the speed limit in school zone
    11·2 answers
  • \Read the sentence.
    12·1 answer
  • You have a notebook computer and wish to connect to an IEEE 802.11n wireless network. The computer does not have a built-in wire
    11·1 answer
  • What is it called when an attacker convinces you to enter personal information at an imposter website after receiving an email f
    10·2 answers
  • Which of these is a sign of healthy A)very high inflation B)A rise in consumers spending C)a shift supply of essential goods D)H
    7·2 answers
  • What software application can be used to send and receive email messaging and management appointments in calendar's
    11·1 answer
  • Choose the correct climate association for: deciduous forest
    10·1 answer
  • Write<br> algorithm to read 100 numbers<br> then display the largest.
    9·1 answer
  • Anyone know how to do Calculator program in python ?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!