Floats

  • How to Fix: TypeError: ‘float’ object is not iterable

    This error is a direct cousin of TypeError: ‘int’ object is not iterable. It means: “You tried to use a for loop on a single…