第一练答案
第一题:
print("Twinkle, twinkle, little star, \n\tHow I wonder what you are! \n\t\tUp above the world so high, \n\t\tLike a diamond in the sky. \nTwinkle, twinkle, little star, \n\tHow I wonder what you are!")
第二题:
- cmd输入:python --version 回车
- 通过打印输出:
import platform
print(platform.python_version()
更多推荐
python50个练习题(第一期答案)
发布评论