-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid syntax for loop in python #33668
Labels
invalid
Issues and PRs that are invalid.
Comments
What does this have to do with node? Are you seeing this code in an existing python script in the node repo? |
This was referenced May 22, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for i in len ([0,:,:]): #want the length of a list, use len #len() function returns the number of items of an object
t = variables[time][i,:,:]
listtime.append[t]
print(list(range(t)))
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: