ex22.py

来源:互联网 发布:家装软件哪个好 编辑:程序博客网 时间:2024/04/30 00:06

ex22.py


这一课是复习课,那就梳理一下以前的练习吧。

ex1:

print

""

''

ex2:

#

ex3:

,

+

-

*

/

%

>

<

>=

<=

ex4:

=

ex5:

%

()

%s

%d

ex6:

%r

ex7:

*10

+

,

ex8:


ex9:

\n

""" """

ex10:

\t

\\

while

for

[]

ex11:

raw_input()

ex12:

raw_input("")

ex13:

from sys import argv

ex14:


ex15:

open()

read()

ex16:

truncate()

write()

close()

ex17:

os.path

exists

len()

ex18:

def function_name():

function_name()

ex19:


ex20:

seek()

readline()

ex21:

return


0 0