This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
from fractions import Fraction | |
def solve_system(n): | |
""" | |
Solve the system: | |
n*x + (n+1)*y = n+2 | |
(n+3)*x + (n+4)*y = n+5 | |
Returns x, y as Fractions | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Header Component in JavaScript | |
// Data for the header options | |
const header_options = [ | |
{ | |
"title": "Home", | |
"path": "/index.html" | |
}, | |
{ |