Assignment 1 Given a number, num. Write an if else block to print num, as is,if it is divisible by 10, else print 10 * num. Assignment 2 Given a number, num. Write a ternary operator to print num, as is,if it is divisible by 10, else print 10 * num. Assignment 3 Use conditional statements for the following. Given a variable time, print Good Morning if it is less than 12, otherwise print Hello. Convert the if else ladder below into a ternary conditional statement. x = 20 if x > 10: print x * 100 else: print x