Computer Science, asked by ASweety1431, 1 year ago

Heyy guys,,,
A very cheerful Good morning☺

Need ur help guys.. .

Q) write a Python programming language that reverse an array of integers (in place).

plzz do it fast....I have some more questions......☺

Answers

Answered by lovelypiku22
2
Hey.... Dear... Your answer is in below... ☺️☺️

# Python Program to Reverse a Number using While loop.

Number = int(input("Please Enter any Number: "))

Reverse = 0.

while(Number > 0):

Reminder = Number %10.

Reverse = (Reverse *10) + Reminder.

Number = Number //10.

print("\n Reverse of entered number is = %d" %Reverse)

Hope it helps you ❤️❤️❤️

tulimitra52: Copyed from google
kakashifan3: Hello
kakashifan3: Aisha from intruder
haazel: hiii dear do u want to change your change name
omkara1431: yes i want to change my name
ashutosh1651: hi
ashutosh1651: di pehchani
Answered by tulimitra52
0

ans: please assemble it- 1) number=int(input(''please enter any number:'')) 2) reverse=0 3) while(number>0): 4) reminder=number%10 5) reverse=(reverse*10)+reminder 6) number=number//10.


Similar questions