If your code is taking long to run, the clock function can help you determine where the time is going.
Support this channel: http://ko-fi.com/LetsCodePhysics, http://patreon.com/LetsCodePhysics
Code available at http://www.glowscript.org/#/user/wlane/folder/VPythonForBeginners/program/Evaluating-Code-Performance/edit
The Birthday Paradox: https://www.youtube.com/watch?v=1BzCWT0D-Fg
Join the conversation! http://twitter.com/LetsCodePhysics
Thank you, patrons!
Fan Xinyu
Chrono Trigger ReMix by Marshall Art: "But You're Still Hungry" [A Desolate World] (#3408), http://ocremix.org
Chrono Trigger ReMix by RebeccaETripp: "Zeal Breeze" [Corridor of Time] (#3641), http://ocremix.org
OC ReMix #3277: Chrono Trigger 'stratification' [Corridor of Time] by melody, http://ocremix.org
Time by Richard de Vos from the Noun Project
Download
0 formats
No download links available.
VPython for Beginners 30 - Evaluating Code Performance | NatokHD