catchFox (1)

所属分类:其他
开发工具:Python
文件大小:1KB
下载次数:2
上传日期:2018-07-13 16:43:53
上 传 者jnyuan
说明:  程序模拟抓狐狸的小游戏。假设一共有一排5个洞口,小狐狸最开始的时候在其中一个洞口, 然后人随机打开一个洞口,如果里面有小狐狸就抓到了。如果洞口里没有小狐狸就明天再来抓, 但是第二天小狐狸会在有人来抓之前跳到隔壁洞口里。
(The program simulates the small game of the fox. Suppose there were 5 rows of holes in the row. Then the man opens a hole at random, and if there is a fox in it, he will catch it. If there is no fox in the hole, come again tomorrow. But on the second day, the little fox will jump to the next hole before someone comes.)

文件列表:
catchFox (1).py (2496, 2017-06-05)

近期下载者

相关文件


收藏者