Computer Science, asked by lakshyashaurya, 3 months ago

Write a program in Python to enter a number and replace all even digits by ‘0’ and odd
digits by ‘1’ and hence display the new number
*URGENT PLEASE*

Answers

Answered by vallinswami
0

Explanation:

Algorithm: Create a variable sum = 0 to store the sum, place = 1 to store the place value of the current digit ...

Similar questions