0

A scripts should run every 15 of month

If its 15 run 15 day code disable 1 day else disable that code and run 1 day code Def 1day(): Def 15day(): Def fun(): If yes: Run 15 Disable 1 Else : Run 1 Disable 15

18th Jul 2022, 5:56 AM
ashu
ashu - avatar
1 Answer
+ 1
ashu Please link your attempt from Sololearn Playground first. Hint: you can build-in a parameter in functions 1day and 15day which stops there runnig, means return back to main program. In main program the parameter control which function can start.
18th Jul 2022, 6:15 AM
JaScript
JaScript - avatar