-
Tampere University
- Finland
-
12:09
(UTC +02:00) - ashaindlin.com
Pinned Loading
-
-
Calculate how far along you are in a...
Calculate how far along you are in a knitting project, assuming linear rate of increases 1#!/usr/bin/env python3
23def calculate(castOn: int, bindOff: int, totalRows: int, curRow: int):
4incPerRow = (bindOff - castOn)/totalRows; # stitches increased per row
5totalStitches = sum([castOn + incPerRow*r for r in range(1, totalRows)])
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.