《python基础教程》答案(第二章)

《python基础教程》答案(第二章)

2.1

# created by swy
"""
solutions to beginning python
"""
print(5 * 10)

2.2

# created by swy
"""
solutions to beginning python
"""
for i in range(6, 25):
    print("%o\t" % i)

2.3

# created by swy
"""
solutions to beginning python
"""
for i in range(9,16):
    print("%x" % i)

第二章 完

你可能感兴趣的:(python)