New course! Every coder should learn Generative AI!
Try a free lesson0
Write a program in java to accept a number and display that number after removing all the zeroes (0).
answer me with a simple code
1 Answer
+ 1
Python:
print(input().replace('0', ''))