圆环 [英] Circle loop

查看:62
本文介绍了圆环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是Zelle书中的另一个问题。

This is another problem in the Zelle book.

展开 | 选择 | Wrap | 行号

推荐答案

我宁可定义一个使用一个给定中心制作1只眼睛的函数。然后让眼睛调用那个函数。


尽管如此,你将需要一个嵌套的循环
I might rather define a function that made 1 eye with a given centre. Then make the eyes call that function.

Be that as it may, you''re going to need a nested loop
展开 | 选择 | Wrap | 行号


我还是不明白。请不要介意,但是你可以告诉我解决方案,因为我真的无法想象它,我一直试着几个小时。
I still don''t understand it. Please do not mind, but can you show me the solution because I seriously can''t figuare it out, I been trying for hours.


你有没有设法让它打印一个圆圈然而?你尝试过你的功能吗?一旦你能做到这一点,其余的应该很容易。
Have you managed to get it to print a circle yet? Have you tried with the functions you''ve got? Once you can do that, the rest should be easy.


这篇关于圆环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆