# -*- coding: utf-8 -*- """ Created on Sun Apr 22 16:20:42 2018 @author: MyPC """ def main(): ''' 将英尺转化为米数. 公式: 一英尺等于0.305米 ''' feet = eval(input("input feet:")) meters = feet*0.305 print("%.2f feet is %.4f meters :"%(feet,meters)) if __name__ == "__main__": main()