Imapenguin
  • Home
  • How To
  • Retro
  • Software
  • Downloads
  • FAQ
Subscribe

Python

A collection of 2 posts
A visual 100 Door Problem solution in Python
code

A visual 100 Door Problem solution in Python

Last year, we did the 100 door problem on many platforms in BASIC and Assembly language [https://imapenguin.com/just-for-fun-the-100-door-problem-on-several-different-systems/] . The 100 door problem is: * There are 100 closed doors in a row. * You walk past the doors 100 times (100 passes) * The first time, visit every door. If the
Jan 11, 2022 — 2 min read
Permutations of 1 to 9 in Python, BASIC, and 6502 Assembly
C64

Permutations of 1 to 9 in Python, BASIC, and 6502 Assembly

Someone asked me this week if I would help him with a graph theory problem on 8-Bit machines. The first task was to get all permutations of 1 to 9. Since the total permutations is 9! (362,880) I knew this would take a while. Learning without learning, the standard
Dec 20, 2021 — 5 min read
Imapenguin © 2022
  • Evadot
  • Build an airplane
Powered by Ghost