MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1n2w0kf/indentation_err/nb97aws/?context=3
r/PythonLearning • u/SKNYv12 • Aug 29 '25
I have been trying to get this one to work for a while. I don't understand where the indentation on the return(user_groups) line is supposed to be
7 comments sorted by
View all comments
4
You declared it in line 2. You want to return it in the same scope (4 spaces back)
4
u/shudaoxin Aug 29 '25
You declared it in line 2. You want to return it in the same scope (4 spaces back)