Skip to content

Python3 Codes

Small & Fun Examples of Python3 codes

  • About
  • Python Resources
  • Why Python?
  • Tags
  • Richmond Sites
    • Alan Richmond’s Blog
    • Pretty Math Pictures
    • Python Links
    • Neil Richmond Photography
    • Mark Richmond

Month: June 2015

Rainbow Flag in Pygame

This little Pygame program paints the Rainbow Flag, as used by the LGBT movement. It illustrates: Importing the Pygame library … More

color, enumerate, for, graphics, import, libraries, loop, pygame, RGB
hello world

A Quick Introduction to Python 3 Programming

This Quick Introduction to Python 3 aims to teach you just enough Python, so that you can get started in … More

arithmetic, assignment, bit operations, boolean, comments, comparisons, conditionals, data types, exceptions, file, float, for, indentation, input, loop, not, print, while
Hilbert curve

Drawing Fractals with Lindenmayer Systems

Lindenmayer systems, or L-systems, provide a very powerful way to construct fractals. Lindenmayer used L-systems to describe the behaviour of … More

fractal, function, libraries, recursion, simulation

A Fake Circle made of Straight Lines

Inspired by this post on Reddit, I wrote this little script to do the same thing. The circle is an … More

cos, for, import, libraries, pi, range, sin, turtle

Tweetable Python Code Golf

Code Golf is the amusement of writing as short as possible a program to perform a given task. So for … More

fractal, golf, koch snowflake, mandelbrot, numpy, pylab, sierpinski triangle, turtle, tweetable

Playing in Python with Pickover’s Premise per Pi

My favourite tweeter is Clifford A. Pickover. His tweets are delightful nuggets of math, physics & more. I have a copy … More

for, math, range

Recent Posts

  • Multi-pendulum Harmonograph simulator using numpy and matplotlib
  • Eight Queens Puzzle – Six Lines
  • A Neural Network in Python, Part 2: activation functions, bias, SGD, etc.
  • A Neural Network in Python, Part 1: sigmoid function, gradient descent & backpropagation
  • Ramanujan’s 129th Birthday

Recent Comments

  • Ritesh on A Quick Introduction to Python 3 Programming
  • Sorting Algorithms – Bit Nibble Byte on Popular Sorting Algorithms
  • Focus : Le Réseau de Neurones Artificiels ou Perceptron Multicouche - Pensée Artificielle on A Neural Network in Python, Part 1: sigmoid function, gradient descent & backpropagation
  • Stacks – Program Everything on Drawing Fractals with Lindenmayer Systems
  • Repository of Sources to learn Data Science | IT Technologies on A Neural Network in Python, Part 1: sigmoid function, gradient descent & backpropagation

Archives

  • June 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • May 2016
  • April 2016
  • March 2016
  • October 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015

Categories

  • Advanced
  • Artificial Intelligence
  • Audio
  • Basic
  • Beginner
  • Fractals
  • Games
  • Harmonograph
  • Intermediate
  • Numbers
  • Pyplot
  • Text
  • Turing Machines
  • Turtle
  • Uncategorised

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress
Theme: Rebalance by WordPress.com.