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, 22.06.2019 17:30
Type the correct answer in the box. spell all words correctly. under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 3
question
Computers and Technology, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
Once the data center routes to the destination server that hosts the website, what's the next step in the internet process? user’s browser renders html code from destination server into web page request goes through router/model and isp request routed to nameserver and datacenter
Answers: 2
question
Computers and Technology, 22.06.2019 20:00
What side length would you specify if you were required to create a regular hexagonal plate that was composed of 33 cm(squared) of sheet metal? dimension the side length to 0.1 cm
Answers: 2
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
Computers and Technology, 22.02.2021 01:00
question
Mathematics, 22.02.2021 01:00
Questions on the website: 13722361