鱼C论坛

 找回密码
 立即注册
查看: 2896|回复: 1

[已解决]python求助

[复制链接]
发表于 2022-11-2 09:21:45 From FishC Mobile | 显示全部楼层 |阅读模式
10鱼币
该如何做,求助
最佳答案
2022-11-2 09:21:46
  1. import math
  2. for i in range(0, 91, 5):
  3.     print(f'sin({i})={math.sin(math.radians(i)):.2f},cos({i})={math.cos(math.radians(i)):.2f}')
复制代码
mmexport1667351630738.jpg

最佳答案

想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2022-11-2 09:21:46 | 显示全部楼层    本楼为最佳答案   
  1. import math
  2. for i in range(0, 91, 5):
  3.     print(f'sin({i})={math.sin(math.radians(i)):.2f},cos({i})={math.cos(math.radians(i)):.2f}')
复制代码
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-5-18 01:10

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表