1 >>> pi = 3.14 2 >>> r=8 3 >>> area = pi * r**2 4 >>> print(area) 5 200.96 6 >>> r= 18 7 >>> print(area) 8 200.96 9 >>> area = pi * r**2 10 >>> print(area) 11 1017.36 12 >>>
posted on 2018-10-25 16:30 cltt 阅读(105) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2025 cltt Powered by .NET 9.0 on Kubernetes