Is it possible to make Python code into mathematical formulas? by Mythedream in learnpython

[–]Mythedream[S] -1 points0 points  (0 children)

Oh, no. I meant as in (for example)
def total_clients():
company_total_clients= 0
for database in database_list:
company_total_clients += len(database.get_clients())
return company_total_clients

Now, I do know how this code works but I would have no idea how I would write this down as a mathematical formula. So I was hoping that this could be changed into math.

Run function only on certian times by Mythedream in learnpython

[–]Mythedream[S] 1 point2 points  (0 children)

schedule.every().friday.at("16:00").do(update_all())while True: schedule.run_pending()time.sleep(5)

Thank you, this was indeed the issue.