Skip to content

jeffreyhoang/Beginner-Practice-Scripts

Repository files navigation

Beginner Practice Scripts

Grader:

Given a homework score out of 100 points with 25% weight, a midterm score out of 100 with 25% weight, and a final score out of 200 with 50% weight, this script returns the weighted total and whether the student passed or failed the class.


Tic-Tac-Toe:

Play tic-tac-toe with another player.


Rock-Paper-Scissors:

Play rock-paper-scissors against the computer.


OneEditAway:

  • Input: 2 strings
  • Output: true or false depending on whether the strings are one edit away.

Example 1:

'hello' and 'hell' will return true.

Example 2:

'hello' and 'hellooo' will return false.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published