Write a program to print “LinkedIn” if a number is divisible by 4 and 6, Linked if it is divisible by 4 and “in” if it is divisible by 6.
def print_linked_in(number):
if number%4 == 0 and number%6 == 0:
print("Linkedin")
elif number%4 == 0:
print("Linked")
elif number%6 == 0:
print("in")
BY Best Interview Question ON 26 Jan 2020