Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.7
-
None
Description
In this page: https://doc.qt.io/qtforpython-6/quickstart.html
The following code
function setText() { var i = Math.round(Math.random() * 3) text.text = texts[i] }
should change to:
function setText() { var i = Math.floor(Math.random() * 3) text.text = texts[i] }