بحث هذه المدونة الإلكترونية

الجمعة، 15 سبتمبر 2023

اجرة العامل بايثون اكتوكود

  1.  str_length = input (" please type length\n")
  2. str_width = input (" please type width\n")
  3. str_price = input ("how mutch for 1 meter\n")  
  4. length = float (str_length)
  5. width = float (str_width)
  6. price = float str_price)
  7. area = lengh * width
  8. str_area = str(area)
  9. total_price = area * price
  10. str_total_price = str(total_price)
  11. print("the total area is :" + str_area)
  12. print (" Give the gay:" + str_total_price)
 

ليست هناك تعليقات:

إرسال تعليق