1、新建一个 .py文件,如test_hello.py;
2、右键,Edit with IDLE(即Python GUI)
3、编写代码
hello = "hello" print(hello) ##################################### test_list = [1,2,3,4,"minglang"] for i in range (1,10): test_list.append(i) print (test_list)
4、Run->Run module F5 运行程序,结果如下
5、Debug
点开Shell窗口的Debug—> F5 —>Debug窗口的Go
时间: 2024-11-10 08:22:27