第 1 步:今天的课程是关于打开和关闭文件。为了节省时间,我们为您制作了游戏!
- 让我们开始吧!在逻辑和,将Main Function拖到MAIN FUNCTION下方。
- 那么,在,将Function Call Into Variables拖到main()中的变量中。
- 将my_function更改为play_game ,将my_var1更改为player_name ,将my_var2为time 。
- 游戏结束后, play_game()返回玩家的姓名以及他或她存活了多长时间。
To navigate the page using the TAB key, first press ESC to exit the code editor.