2. RUR-PLE ? ¶
- 한 환. 해 . .
- Python 하 퓨 환.
- Python , . 함 해해 . .
- 해 하 -_-; 화 해 . 하 하, 해 하 .(하 한 화 킨 하 합 하 하 행 하 ..) 해 .
4.4. ? ¶
- RUR-PLE 한.
- Play Play 하 step into 한 할 한. 하 행. 행 회 highlighting .
- Play 클하 하 step into (play ) 클하 하 하 행.
- step into
-
4.6. 하 ¶
- def 함 할 .
- repeat 행해 하 함( 포함) 한 횟 해 할 .
~cpp def turn_right(): repeat(turn_left, 3)
- 한 함화 해 한.
4.7. if ¶
- next_to_a_beeper() : beeper true, false 환한.
~cpp if next_to_a_beeper(): pick_beeper()
- if 함 , repeat 하 화 황 한.
4.7.1. else ¶
- front_is_clear() : true, false
- left_is_clear() :
- right_is_clear() :
- else .
~cpp def move_or_turn(): if front_is_clear(): move() else: turn_left()
- 한 해. 크 횟 해 한. 크 5 5*4=20 ..
4.8.1. ¶
- .
- 하 한. 했. 했..
~cpp # introducing vocabulary related to the problem next_to_a_carrot = next_to_a_beeper plant_carrot = put_beeper pick_carrot = pick_beeper def one_carrot_only(): if not next_to_a_carrot(): plant_carrot() # replace missing seed else: pick_carrot() if not next_to_a_carrot(): # oops! plant_carrot() # we had removed the only one
4.9. while ¶
- 한.
~cpp next_to_a_carrot = next_to_a_beeper plant_carrot = put_beeper pick_carrot = pick_beeper def one_carrot_only(): while next_to_a_carrot(): pick_carrot() # pick them all! plant_carrot() # replant only one
- harvest3.wld 파 .
- while 하 2 하 한.
4.11. Sorting ¶
- sort0_1.wld 파 .
- 하 .
- 하 2 column 한 .
- sort0_2.wld 파 .
- 테트 해.
- sort1 파 .
- 한 column 해 한.
- sort2
5. 품 ¶
- sort1, sort2 하 /2005/RUR-PLE/품 .
- 05 태 sorting 해하 품 탔. 01 sort2 해 해하 sort1 해 해하.
2005/RUR_PLE/태