Python basics flag

So I’m just learning about cybersecurity and figured I’d start with the basics of Python, and so started with the Python basics course.

i don’t know the problem
i get 12/13
the problem is in
with open (‘animals.txt’,‘r’) as file:

I just cannot figure out where this last point is supposed to come from. Is there some other factor I’m missong on this one?

Let me know how your code differs from this:


same issue. mine is exactly what the above example is, but it still doesn’t work.

Hey I was really struggling with this one. I had 12/13 and none of the flag responses gave me a hint of what was wrong that I could see. I finally went back and tried spacing changes. I literally took out spaces like in the list array - and it worked. Try the list array with colors with no spaces.