for _ in range(3):
sec=sec+1.3
round(sec)
print(sec)
I am working on a GUI/ML project and i ran the above simple snippet.I have to display the number in the GUI(pyqt5) but the output is all messed up.Here is the output that i got.(sec=0 at the start obviously)
- 1.3
- 2.6
- 3.9000000000000004
Questions:-