0

Unexpected error

I'm getting attribute magic error? It's giving me error __enter__ I'm at a loss of what is going on, please explain to me if you are willing. https://code.sololearn.com/coOX6BVxrj99/#py

19th Aug 2020, 2:28 AM
Joshua Cronin
Joshua Cronin - avatar
2 Respostas
+ 1
You're very close, the syntax is with open()... https://code.sololearn.com/cBR7DHFTBYFx/?ref=app
19th Aug 2020, 2:35 AM
Steven M
Steven M - avatar
+ 1
Facepalm
19th Aug 2020, 2:57 AM
Joshua Cronin
Joshua Cronin - avatar