Steve
Stats
91
reputation
54k
reached
0
answers
1
questions
About

I am an amateur coder, in the first year of an IT course at QUT.

I want to eventually make video games with a group of friends.

I know a fair amount of python and scrapings of html.

So far, this is my favourite code I've created:

def evergreen(tiers, leftside = '*',rightside = '+'):
    for leaves in range(tiers):
        print ' '*(tiers-leaves)+(leftside*leaves)+(rightside*leaves)
    for _ in range ((tiers/10)+1):
        print ' '*(tiers-2),"||"
    for _ in range (4):
        print ' '*((tiers)-5), '|===---|'

A christmas tree!

Top network posts

We respect a laser-like focus on one topic.

1
gold badge
1
silver badge
4
bronze badges

Top tags (1)

Score 0
Posts 1
Posts % 100

Top posts (1)