Home > other >  For help: Mac Python CLS command is invalid
For help: Mac Python CLS command is invalid

Time:09-24

The import OS
The import time

For I in range (10) :
OS. The system (the 'clear') # screen clearing
Print (I)
Time. Sleep (1)

Idle running in the code above, obtain the following results, not present rolling effect, help! Thank you!




In addition, the runtime in pycharm shows as follows:

  • Related