Discuss / Python / 为什么在vscode上运行结果出不来?

为什么在vscode上运行结果出不来?

Topic source

里昂tcxy

#1 Created at ... [Delete] [Delete and Lock User]

# -*- coding: utf-8 -*-

L = []

n = 1

while n <= 99:

    L.append(n)

    n=n+2

print(L)

i=0

while i<=len(L)/2-1:

    print(L[i])

    i=i+1

#为什么这个程序显示有语法错误,有哪位大佬知道吗


  • 1

Reply