If-elif-else Statement in Pythonnum = 15if num == 5: print("Number is 5.")elif num == 10: # Note: elif consists of else and if print("Number is 10.")else: print("Condition is false!!!")
Post a Comment