less copy protection, more size visualization
您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
|
- # calculates the diameter in pixels for the inner part of a pipe
-
- import sys
-
- size = 500
-
- od = float(sys.argv[1])
- id = float(sys.argv[2])
-
- thickness = (od - id) / 2
-
- print("{0:2f}".format(thickness * size / od))
|