Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Suleymanov |
I need to compare the values I stored in labels. I “set_text(str(minutes) +str(seconds) +str(milliseconds))” for CurrentLap label and LastLap label that works fine. But in order to set text for BestLap label, I need to compare the values already in LastLap and BestLap labels. Like, for “if LastLap < BestLap” - I tried “.get_text” and that returned an error, I tried “.text” and it doesn’t seem to work either. What is the correct way to compare the values stored in labels? Thank you for your help!
Also, how do you guys make the script part in comments appear in other colors? What signs should I use my script between for it to appear in red while commenting here?
Suleymanov | 2020-06-07 12:15