uyfrjk 发表于 2018-8-15 13:18:51

python练习-华氏转摄氏

print "this py converts fahrenheit to celsiue"  print "enter the temperature in F"
  F=raw_input()
  D=int(F)-32
  C=D*5.0/9
  print "Celsiue is "
  print C
页: [1]
查看完整版本: python练习-华氏转摄氏