import math
number = input('Your Number: ')
ways = input('sin/cos/tan: ')
try:
problem = ways(number)
answer = math.problem
print(f'The value of {ways} of {number} is: {problem}')
这是我的代码。
我想使用 python 中的数学模块来求解三角函数,但每次运行它时都会出现错误SyntaxError: unexpected EOF while parsing
一只甜甜圈
紫衣仙女
30秒到达战场
波斯汪
随时随地看视频慕课网APP
相关分类