Skip to content

Commit

Permalink
python 判断连续是0 或1 的最大次数
Browse files Browse the repository at this point in the history
  • Loading branch information
likepython committed Mar 1, 2015
1 parent 35df387 commit d7bac2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_0_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
python上海周末培训班
https://github.com/pythonpeixun/article/blob/master/shanghai_weekend.md
咨询:qq:1465376564 黄哥所写
做这个练习题的思路是:做这个练习题的思路是:先用一个n次的循环,将0或1添加到一个list中,
做这个练习题的思路是:先用一个n次的循环,将0或1添加到一个list中,
最后用一个循环加一个变量来计数,统计连续相等数字1或0的出现次数。

"""
Expand Down

0 comments on commit d7bac2f

Please sign in to comment.