Click in order · Python course · Module 4: Data, APIs and Databases

Context Manager

Click in order: with open('file.json', 'w') as f:

Items to click

  • :
  • with
  • open('file.json', 'w')
  • as f

You can check the correct answer by solving this task in the CodeWorlds game.