Skip to content

Commit

Permalink
change elif r >= 2 and r > 7: to elif r > 7:
Browse files Browse the repository at this point in the history
  • Loading branch information
王冰峰 authored and 王冰峰 committed Mar 17, 2019
1 parent 7e23873 commit 7f76c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Part.1.E.3.controlflow.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
" print('Draw!')\n",
"elif r >= 2 and r < 7: # 如果这里直接写 elif r < 7: ,那么,else: 那一部分永远不会被执行……\n",
" print('Small!')\n",
"elif r >= 2 and r > 7:\n",
"elif r > 7:\n",
" print('Big!')\n",
"else:\n",
" print('Not valid!')"
Expand Down

0 comments on commit 7f76c1a

Please sign in to comment.