The BitMon & Python


Task 1 - Finding BitMon

You now need to make changes to the code you had seen above. Fork the following replit code and make the changes to reflect the points below.

  • Ask the user for the name of Bitmon they are searching for
  • Run a loop splitting the data into individual variables
  • While checking if the individual line contains the Bitmon that is being searched for

tips on how to complete the tasks.

Task 2 - Adding BitMon

You are now adding new BitMon to the BitDex.

  • Ask the user for the name and further details of each new Bitmon>
  • Open the bitmon.txt file in append mode (a).
  • Write the data into the file

tips on how to complete the tasks.

Task 3 - Removing BitMon

You are now deleting BitMon from the BitDex.

  • Ask the user for the name of a Bitmon>
  • Open the bitmon.txt file in append mode (a).
  • Write the data into the file

tips on how to complete the tasks.