如何用python完成:用自顶向下设计方法编写程序:在屏幕上打印三角函数y = sin(x)的图像.
问题描述:
如何用python完成:用自顶向下设计方法编写程序:在屏幕上打印三角函数y = sin(x)的图像.
我只学了前四章,初识python,数据和字符串,数据的流程控制,模块化设计,这个是第四章习题,如何用我学过的知识完成这个题目?
答
I wrote this in Tkinter for you,in case you don't know Tkinter,it is a built-in module for most python versions.If you want a commandline version,you can ask me,but tell you what,since those value...