Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

teach-code

1.1.0 • Public • Published

npm version downloads PRs Welcome

Teach-Code

A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.

Installation

npm install -g teach-code

How to use

The user is provided with 30 tasks guideing them through the basics of python. He/she gets a key to access the next task if the current task meets all the test cases. There is also the provision to revisit previously submitted tasks, but it can't be worked on again.

  • Navigate to a directory of your choice and fire in teach-code init
  • Navigate to the Teach-Code-solutions directory
  • Copy and paste the command as instructed within the initial screen teach-code fetchtask <key>
  • Hurray 👍 you've got your first task
  • Write your solution within a file that is auto-created task<task_number>.py)
  • teach-code submit submits the current solution and gives you the next key to proceed if your solution meets all the test cases
  • teach-code showkeys shows you all the keys
  • teach-code showcommands shows you all the commands available for reference

Available Commands

command description
teach-code init Initializes all the tasks
teach-code fetchtask <key> Fetches the task correponding to key provided
teach-code submit Submits the current task
teach-code showkeys Shows all the keys grabbed
teach-code showcommands Lists all the available commands

License

Licensed under GNU General Public License V3.0

install

npm i teach-code

Downloadsweekly downloads

133

version

1.1.0

license

GPL-3.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability