# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3.10.1 64-bit
#     language: python
#     name: python3
# ---

# ## Instructions
#
# * Read this the code 
# * Spot the problems.
# * Modify the code to fix the program.
#
# Fix the code so that it works and passes the tests when you submit.

# +
#bugged code
number = int(input("Which number do you want to check?"))

if number % 2 = 0:
  print("This is an even number.")
else:
  print("This is an odd number.")

# +
#debugged code

#bugged code
number = int(input("Which number do you want to check?"))

if number % 2 == 0:
  print("This is an even number.")
else:
  print("This is an odd number.")

StarcoderdataJupyterScriptsDedupFiltered