subject

TOPIC-PYTHON

In the below code why r=0 and please explain r=r*10+d

s=int (input("Enter any number:"))
r=0
while (s>0):
d=s%10
r=r*10+d
s=s//10
print ("reverse",r)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
Answers: 3
question
Computers and Technology, 23.06.2019 15:20
What does a bonus object do? a. subtracts lives b. keeps track of a player's health c. gives a player an advantage d. makes text appear
Answers: 1
You know the right answer?
TOPIC-PYTHON

In the below code why r=0 and please explain r=r*10+d

s=int (...
Questions
question
Mathematics, 04.08.2019 22:00
question
Mathematics, 04.08.2019 22:00