Python帮助 - 重复应用过程 [英] Python Help -- Apply a procedure repeatedly

查看:69
本文介绍了Python帮助 - 重复应用过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编写一个函数,该函数将带有一个参数和一个整数的过程作为参数。整数表示过程将在参数上执行的次数。

Hi, I''m trying to write a function that takes in as arguments a procedure with one argument and an integer. The integer represents how many times the procedure will execute on the argument.

展开 | 选择 < span class =codeDivider> | Wrap | 行号

推荐答案


我正在尝试编写一个函数,它接受带有一个参数和一个整数的过程作为参数。整数表示过程将在参数上执行的次数。

Hi, I''m trying to write a function that takes in as arguments a procedure with one argument and an integer. The integer represents how many times the procedure will execute on the argument.

展开 | 选择 < span class =codeDivider> | Wrap | 行号



我要去看看当我休息时,在你的代码。我只是想快速通过一个快速的说明欢迎你并说对于一个初学者你肯定有一个很棒的手柄。感谢您的加入,

Barton
I''m going to look at your code when I get a break. I just wanted to whip off a quick note to welcome you and say "for a beginner you sure got a great handle". Thanks for joining,
Barton



非常感谢,Barton!

Thanks a lot, Barton!



我正在尝试编写一个函数,它接受带有一个参数和一个整数的过程作为参数。整数表示过程将在参数上执行的次数。

Hi, I''m trying to write a function that takes in as arguments a procedure with one argument and an integer. The integer represents how many times the procedure will execute on the argument.

展开 | 选择 < span class =codeDivider> | Wrap | 行号


这篇关于Python帮助 - 重复应用过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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