Looking for answers? Westonci.ca is your go-to Q&A platform, offering quick, trustworthy responses from a community of experts. Join our platform to connect with experts ready to provide accurate answers to your questions in various fields. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

Write a program in python in which teacher asks the student to check
whether the input number is divisible by 7 or not. If it is divisible by 7
then square the number and add 11 in it and then check if divisible by 2.
If it gets divisible by 2 print the original number. If it is not divisible by 2
print it “only divisible by 7”, if it is not divisible by 7 print “Not divisible
by 7”.

Sagot :