第1关:温度转换

C = eval(input( "input a number:" ))
def convert(C):
    return 1.8*C+32
F = convert( C )
#调用convert函数

你可能感兴趣的:(#,实验5:Python函数,python)