标签:col == tput eval print NPU ted pre creat
# -*- coding: utf-8 -*- """ Created on Sun Apr 22 15:55:56 2018 @author: MyPC """ def main(): ‘‘‘ 计算圆柱体的体积. 公式: area = radius * radius * π volume = area * length input:radius,length output:volume ‘‘‘ PI=3.1415926 radius, length = eval(input("input radius, length:")) area = radius * radius * PI volume = area * length print("The volume is %6.2f :"%(volume)) if __name__ == "__main__": main()
标签:col == tput eval print NPU ted pre creat
原文地址:https://www.cnblogs.com/Wang-Y/p/8908284.html