From eaacc9ff56397b3c719621bf2b8a24bc28e14290 Mon Sep 17 00:00:00 2001 From: "thibaud.rohmer@gmail.com" Date: Tue, 6 May 2014 14:13:14 +0200 Subject: [PATCH] Added star pyramid function --- socode.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/socode.py b/socode.py index f1e3472..2143a4b 100755 --- a/socode.py +++ b/socode.py @@ -1740,6 +1740,10 @@ def dethos(): def sente(): return "hello from sente!" +def thibaudrohmer(n): + print "\n".join(["*"*i for i in range(1,n+1)]) + + def sluu99(n): "This function checks if a number is odd or even, the shitty way" if n < 0: