初学python四:简单的输入输出

来源:互联网 发布:Mac的tomcat打不开8080 编辑:程序博客网 时间:2024/05/02 08:48

代码1:

>>> i=5;
>>> print(i);
5
>>> i=i+1;
>>> print(i);
6
>>> s="haoren\
... yishengpingan";
>>> print(s)
haorenyishengpingan
>>> #清屏
...
>>> import os;
>>> os.system("cls");

0 0