A number is said to be Duck if the digital zero is (0) present in it write a program to accept a number and check whether the number is duck or not
Answers
Answered by
0
Answer:
num = int(input())
if num == 0:
print("Duck")
Explanation:
input is used to take user input!
if statement to handle situation!
Similar questions