Length = float(input('Enter Length = '))
Breath = float(input('Enter Breath = '))
print('-'*10)
print('perimeter = ' + str(2*(Length + Breath)))
print('area = ' + str(Length * Breath))
Breath = float(input('Enter Breath = '))
print('-'*10)
print('perimeter = ' + str(2*(Length + Breath)))
print('area = ' + str(Length * Breath))
No comments:
Post a Comment