You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
numpy.linespace audio spectrumQT.py TypeError: object of type <class 'float'> cannot be safely interpreted as an integer. #14
I tried to run audio spetrumQT.py but it said TypeError: object of type <class 'float'> cannot be safely interpreted as an integer.
Can someone please help.
Activity
Dodo0303 commentedon Mar 23, 2021
Dividing by 2 makes it a float. Substitute '/' with '//' for integer division.