numLaps = int(input("Enter number of laps (1-20): ")), OUTPUT "Enter number of laps (1-20): " INPUT numLaps, while numLaps < 1 or numLaps > 20:, WHILE numLaps < 1 OR numLaps > 20, total = 0, total <- 0, fastest = 9999, fastest <- 9999, for i in range(1, numLaps + 1):, FOR i <- 1 TO numLaps, lapTime = int(input(f"Enter time for lap {i} (20-300): ")), OUTPUT "Enter time for lap " + i + " (20-300): " INPUT lapTime, while lapTime < 20 or lapTime > 300:, WHILE lapTime < 20 OR lapTime > 300, total = total + lapTime, total <- total + lapTime, if lapTime < fastest:, IF lapTime < fastest THEN, fastest = lapTime, fastest <- lapTime.

بواسطة

لوحة الصدارة

النمط البصري

الخيارات

تعزيز الذكاء الاصطناعي: يحتوي هذا النشاط على محتوى يولده الذكاء الاصطناعي. التعرف على المزيد.

تبديل القالب

)
استعادة الحفظ التلقائي: ؟