Write a python program to read a floating point number and an integer. If the value of the floating point number is greater than 4.14, then add 10 to the integer.
Answers
Answered by
0
Answer:
num=float(input('Input any float value:'))
if num>4.14:
num=num+10
print('New value is: ',num)
else:
print('The number is less than 4.14...')
Output:
Attachments:
Similar questions