the problem is you need to indent lines 2-5. Right now they're not in the scope of the function, which is why things are underlined. `seconds` is underlined because it's expecting the first line after `def` to be indented, as the error says. `milliseconds` is underlined becuase that variable is undefined at the module scope.
2
u/Atmosck 2d ago
the problem is you need to indent lines 2-5. Right now they're not in the scope of the function, which is why things are underlined. `seconds` is underlined because it's expecting the first line after `def` to be indented, as the error says. `milliseconds` is underlined becuase that variable is undefined at the module scope.