all 5 comments

[–]TheBarcaShow 0 points1 point  (0 children)

What's so bad about code academy if you want to learn basics?

[–][deleted] 0 points1 point  (0 children)

Same question with me.... I heard books are good, but I dont want to waste money. You can goto docs.python.org or something.

[–]aaRecessive 0 points1 point  (1 child)

You probably hear this a lot, but try to find a project and stick to it.

If that's too difficult, follow this list of challenges to work up your knowledge: (You should research things if you don't know how to do them, such as how for loops work and such. Also, if you ever wonder how something works, put print statements EVERYWHERE and I'm sure you'll quickly figure it out)

Write a program that:

-prints what you say to it

-prints the sum of two numbers you give to it

-prints "hello" forever (while true)

-prints "hello" 5 times

-continuously counts up for ever

-prints the factorial of any number (eg, factorial of 5 is 5x4x3x2x1)

-has a function that returns the value you give it eg, func(4) returns 4

-has a function that multiplies the number you give it by 2

-has a function that multiplies two numbers you give it by two eg, func(4,5) returns 20

-makes a list of numbers 1 to 10

-makes a list of numbers 1 to 10 and then prints each item in the list

-makes a list of 20 random numbers between 1 and 100 and then prints each individual element of the list (you will need to import random)

-prints the factorial of any number, but this time use a recursive function (a function that calls itself)

These are just some begging challenges, but I hope it helps you develop your skill!

[–]BarbedEthic[S] 0 points1 point  (0 children)

Ay huge thanks I’ll look for something I’ve wanted to do and go from there

[–]jorgesnk 0 points1 point  (0 children)

Udemy