how to clear the python command window screen
C:\Users\siva>python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (
Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print("hai siva")
hai siva
>>> print("welcome to my blog")
welcome to my blog
>>> x=10
>>> y=20
>>> z=x+y
>>> z
30
>>> import os
>>> def cls( ):
... os.system("CLS")
...
>>> cls( )
>>>
No comments:
Post a Comment