79834014

Date: 2025-11-30 16:00:15
Score: 1
Natty:
Report link

Your loop condition never becomes False -- This will print “Found” but keep looping, because you never told it to stop.

t = (3, 7, 10, 1)
i = 0

while i < len(t):
    if t[i] == 10:
        print("Found")
    i += 1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sudhanshu Mishra