cel = float(5 / 9*(fahr - 32))
Traceback (most recent call last):
File "<pyshell#31>", line 1, in <module>
cel = float(5 / 9*(fahr - 32))
NameError: name 'fahr' is not defined
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你得先写个:
但是我估计你是想写个函数,所以你需要: