Python Infinite Loop

View as PDF

Submit solution

Points: 7 (partial)
Time limit: 2.0s
Memory limit: 64M

Problem type
Allowed languages

Almost everywhere on this site, we have always held infinite loops under poor regard. This is very unfair to infinite loops because they have their use too! Here, we compensate for the prejudice against them by awarding you points for creating one. However, there is a catch. You must do it as short as possible.

Input Specification

There are no inputs.

Output Specification

There are no outputs. If you output anything, you will crash.


Your score will be \left(\frac 9 N\right)^5 \times 7, where N is the length of your program in bytes, if your program works. Otherwise, it will receive a score of zero.


  • 6
    Styx  commented on Feb. 2, 2024, 5:45 a.m.

    This is truly one of the most Python moments of all time.

    • 0
      HisMonDon  commented on March 19, 2024, 12:21 a.m.

      i agree lmao

  • -2
    medmoj  commented on Dec. 29, 2020, 10:21 p.m. edit 2

    How come I got AC but no points? Does anyone know?

    • 14
      Xyene  commented on Dec. 30, 2020, 12:58 a.m.

      Please re-read the Scoring section.

      • 0
        medmoj  commented on Feb. 16, 2021, 1:18 a.m.

        Solved, thanks!