Skip to content

Instantly share code, notes, and snippets.

View mhdelta's full-sized avatar

Miguel Ángel Henao mhdelta

  • Universidad Tecnológica de Pereira
View GitHub Profile
@mhdelta
mhdelta / pygame
Last active April 12, 2018 12:43
https://inventwithpython.com/makinggames.pdf
http://slav0nic.org.ua/static/books/python/beginning-game-development-with-python-and-pygame-from-novice-to-professional.9781590598726.29808.pdf
#lang racket
(provide (all-defined-out))
(define (primo num a s)
(for ([i (in-range 0 num)])
(if (= (remainder num (+ 1 i)) 0)
(set! a (+ 1 a))
0
)