I'm currently in a bit of a predicament, I'm trying to make a micro python program that has a small time delay for readability, but cannot use any imports. I would simply install the module onto the machine I'm working on, but the program is designed for the Casio-FX9860GIII Calculator.
My first thought was to use a long calculation that takes the calculator a while to process, hence making the program "sleep" for a short period of time, but I've had no success with that. Does anyone have any ideas?
managed to figure it out, just used a for loop and did some testing using the Time function to get the timings right for my system, code looks like this
def systemSleep(s):
i = 0
for i in range(0, s*45100000):
3 * 3
3 * 3
3 * 3
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.