- str_length = input (" please type length\n")
- str_width = input (" please type width\n")
- str_price = input ("how mutch for 1 meter\n")
- length = float (str_length)
- width = float (str_width)
- price = float str_price)
- area = lengh * width
- str_area = str(area)
- total_price = area * price
- str_total_price = str(total_price)
- print("the total area is :" + str_area)
- print (" Give the gay:" + str_total_price)
ليست هناك تعليقات:
إرسال تعليق