list = []
n = 3
print([i for i in range(n)])
for x in range(n):
    for y in range(n):
        nx = (2 * x + y) % n
        ny = (x + y) % n
        list.append([nx,ny])
print(list)| %% Read in files and extrapolate mortality rate | |
| x = csv.read('life.csv','format', '%f %f'); | |
| age = x{1}; | |
| prob = x{2}; | |
| model = stats.lm(log(prob(61:end)), log(age(61:100))); | |
| pfun = @(a) util.if_(a<60, @()prob(a), util.if_(a>121, 1, exp(model.beta(1) + model.beta(2) * log(a)))); | 
| import asyncio | |
| import streamlit as st | |
| from httpx_oauth.clients.google import GoogleOAuth2 | |
| st.title("Google OAuth2 flow") | |
| "## Configuration" | |
| client_id = st.text_input("Client ID") | 
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...
Italics *italics* or _italics_
Underline italics __*underline italics*__
| var db = mongoose.connect('mongodb://localhost:27017/DB'); | |
| // In middleware | |
| app.use(function (req, res, next) { | |
| // action after response | |
| var afterResponse = function() { | |
| logger.info({req: req}, "End request"); | |
| // any other clean ups | 
You can think of the require module as the command and the module module as the organizer of all required modules.
REPL stands for Read Eval Print Loop and it represents a computer environment
The main object exported by the require module is a function. When Node invokes that require() function with a local file path as the function's only argument, Node goes through the following sequence of steps: Resolving > Loading > Wrapping > Evaluating > Caching
The whole process of requiring/loading a module is synchronous. we cannot change the exports object asynchronously(in a callback).
