You have been given an incomplete Python program in the answer box below. Please complete the program by filling in the lines as required.
The program takes as input an integer X, and computes the following formula.
Y = 4 * X + 14
If the value of Y is greater than 50, the program should do the following:
Z = Y * 4
If the value of Y is less than or equal to 30, the program should do the following:
Z = Y - 4
Finally, the value of Z should be printed with print() command.
Answer penalty regime: 0 %)
The program takes as input an integer X, and computes the following formula.
Y = 4 * X + 14
If the value of Y is greater than 50, the program should do the following:
Z = Y * 4
If the value of Y is less than or equal to 30, the program should do the following:
Z = Y - 4
Finally, the value of Z should be printed with print() command.
Answer penalty regime: 0 %)
X = int(input())
Y = X*4 + 14
#--------TYPE YOUR CODE TO COMPLTE PROGRAM BELOW THIS LINE----------
if Y > 50:
Z = Y * 4
#--------TYPE YOUR CODE TO COMPLTE PROGRAM ABOVE THIS LINE----------
elif Y <= 30:
Z = Y - 4
print(Z)

kamak ne eka submit karala danava lakunu nathi unath. hari yanne nathnam monava karannada 