I've been trying to learn python classes for days, every site I go on explains it completely differently
help! ;_:
I want to make a class, then make what I guess are objects or instances of that class which will be actual visual items on the screen with values and attributes, but I can't get past this class shit without getting syntax errors out my ass
class tortoise:
name = ""
colour = ""
import tortoise()
terry = tortoise()
terry.name = "Terry"
terry.colour = "green"
TerryName = terry.name
TerryColour = terry.colour
print TerryName, " is ", TerryColour
who do i get an error when I run JUST this
Just do the free 'introduction to computer science 101' on www.udacity.com. You will be able to program quite a lot when you are finished. It is the best course I have seen. Made me realise that there are some really bright people at stanford. They could teach python to a cat.
>>52640538
some notes on classes from one of my professors
https://www.ics.uci.edu/~pattis/ICS-33/lectures/class.txt
>>52640538
>Switzerland will become a schengen country soon
How old is your image?