Skip to content

Instantly share code, notes, and snippets.

View ibz's full-sized avatar

Ioan Bizău ibz

  • Romanian countryside
View GitHub Profile
@ibz
ibz / factorial.py
Created January 31, 2010 02:43 — forked from ghoseb/factorial.py
#Newbie programmer
def factorial(x):
if x == 0:
return 1
else:
return x * factorial(x - 1)
print factorial(6)
#First year programmer, studied Pascal