Beispiel #1
0
# encoding=utf-8
from p13_1 import c2f, f2c
import sys
sys.path.append("/Users/liliangshan/Desktop/duola/shell-dev/src/python/mod")

print("32 摄氏度 = %.2f 华氏度" % c2f(32))
Beispiel #2
0
import p13_1

print("32摄氏度 = %.2f 华氏度" % p13_1.c2f(32))

print("99摄氏度 = %.2f 摄氏度" % p13_1.f2c(99))
Beispiel #3
0
import p13_1 as tc

print("32摄氏度 = %.2f 华氏度" % tc.c2f(32))

print("99摄氏度 = %.2f 摄氏度" % tc.f2c(99))