I'm changing careers, will be obtaining an MSCS degree, probably taking a 3 1/2 to 4 year track

I have limited programming experience but I enjoyed FORTRAN at Auburn back in . . . 1983?

Anyway, I've been dabbling off & on, here and there, with Java & Python & whatever language is used with Arduinos (?) for the past ~8 years - all self-taught. As I'm in my mid-50's, this will probably be the last time I'll have an opportunity for an epic-career change so I'm taking this seriously.

I began programming again last Thursday and wrote two simple scripts (?) yesterday:

- Hourly vs. Annual Salary
- Guess the Number
- "Colorado Foliage" (posted below)
- . . . misc other stuff . . .

I realize my methods aren't organized well, efficient, and so forth but I'm in "judo solution" mode - just making an effort to get it done, thinking I'll "fix it" later (ha). Having said that, any comments are most welcome - thank you!

- Code: Select all
`import random`

import turtle as t

startX = 0

startY = 0

leaf_angle = 30

leaf_size = 90

size_incr = 45

t.speed(0)

t.pen(fillcolor="#008844", pencolor="green", pensize=2)

def oh_yes():

leaf_angle = 340

leaf_size = 100

angle1 = 340

angle2 = angle1 - 180

for i in range(5):

t.penup()

t.goto(startX, startY)

t.pendown()

t.begin_fill()

t.setheading(angle1-38+(i*32))

t.circle(leaf_size+(leaf_size*i*.25),40)

t.setheading(angle2-38+(i*32))

t.circle(leaf_size+(leaf_size*i*.25),40)

t.penup()

t.end_fill()

for i in range(5):

t.penup()

t.goto(startX, startY)

t.pendown()

t.begin_fill()

t.setheading(angle1+218-(i*32))

t.circle(leaf_size+(leaf_size*i*.25),40)

t.setheading(angle2+218-(i*32))

t.circle(leaf_size+(leaf_size*i*.25),40)

t.penup()

t.end_fill()

t.pendown()

t.begin_fill()

t.setheading(275)

t.forward(leaf_size/2)

t.setheading(180)

t.forward(10)

t.goto(startX,startY)

t.setheading(90)

t.end_fill()

t.penup()

for i in range(33):

startX = random.randrange(-250,250)

startY = random.randrange(-250,250)

oh_yes()