#loop program
def RectangleArea():
    base = float(input('ป้อนค่าด้านยาว : '))
    Width = float(input('ป้อนค่าด้านกว้าง : '))
    RectangleArea = base*Width
    print('พื้นที่สี่เหลี่ยมผืนผ้า :', RectangleArea)

while True:
    RectangleArea()

Loading
esp32-devkit-c-v4