1. 注册账号
登录https://www.pythonanywhere.com/ 可以注册免费的Beginner账号。

2. 创建Python 3.7运行环境
使用Beginner账号登录后,可以看到Start a session功能,选择python 3.7环境来创建。

3. 启动Python 3.7运行环境

4. 输入你的Python代码,Hello World!
在>>>后输入下面代码并回车,讲运行你的第一个Python程序。
print(“Hello World!”)

回车后屏幕中输出Hello World!
网友评论