Computer Science, asked by radhika080680, 11 months ago

how to check in buzz no. that last digit is 7 in python programme​

Answers

Answered by vicky9980
0

Answer:

A number is said to be Buzz Number if it ends with 7 OR is divisible by 7.

The task is to check whether the given number is buzz number or not.

Examples:

Input : 63

Output : Buzz Number

Explanation: 63 is divisible by 7, one

of the condition is satisfied.

Input : 72

Output : Not a Buzz Number

Explanation: 72 % 7 != 0, 72 is neither

divisible by 7 nor it ends with 7 so

it is not a Buzz Number.

Similar questions