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.
Play tic-tac-toe with another player.
Play rock-paper-scissors against the computer.
- Input: 2 strings
- Output:
true
orfalse
depending on whether the strings are one edit away.
'hello'
and 'hell'
will return true
.
'hello'
and 'hellooo'
will return false
.