350/200
quit
p3
quit
exit
import requests
# Direct project comment thread scraper avoiding pagination walls
project_id = "1257927971"
url = f"https://api.scratch.mit.edu/projects/{project_id}/comments?limit=40&offset=0"
headers = {"User-Agent": "Mozilla/5.0"}
response = requests.get(url, headers=headers)
if response.status_code == 200:
    comments = response.json()
    for c in comments:
        print(f"[{c['author']['username']}]: {c['content']}")
else:
    print(f"Error fetching: {response.status_code}")
import requests
# Direct project comment thread scraper avoiding pagination walls
project_id = "1257927971"
url = f"https://api.scratch.mit.edu/projects/{project_id}/comments?limit=40&offset=0"
headers = {"User-Agent": "Mozilla/5.0"}
response = requests.get(url, headers=headers)
if response.status_code == 200:
    comments = response.json()
    for c in comments:
        print(f"[{c['author']['username']}]: {c['content']}")
else:
    print(f"Error fetching: {response.status_code}")
clear
quit
import scipy.stats as stats
mean = 175
sd = 8
x = stats.norm.ppf(0.8, loc=mean, scale=sd)
print(f"invNorm(0.8) = {x}")
