Skip to content

Instantly share code, notes, and snippets.

View pschwede's full-sized avatar
💭
Brainstorming...

Peter Schwede pschwede

💭
Brainstorming...
View GitHub Profile
@pschwede
pschwede / Mental arithmetic trainer
Created February 11, 2011 21:17
Uses espeak to ask user about simple arithmetic calculations and answers each question by itself after some time. Default language is German. – It has been reported to me that, making a game with it, can be great fun on parties. ;)
#!/usr/bin/env python
import random as ra
import os, time
def main(language):
ra.seed()
ops = ("+", "-", "*", "/")
equals = ("=")
comma = "point"
⨀_⨀
⨂_⨂
(/◔ ◡ ◔)/
°ﺑ°
(¬_¬)
(´・ω・`)
(ʘ_ʘ)
(ʘ‿ʘ)
(๏̯͡๏ )
(◕_◕)