79626981

Date: 2025-05-17 21:00:22
Score: 2
Natty:
Report link

I feel the error is likely caused by mixing tabs and spaces in your indentation, which Python doesn't allow.

Since it works in RStudio but not elsewhere, your environments are handling whitespace differently. Try retyping the loop lines with consistent indentation (using only spaces, not tabs) to fix it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rihan Dsa