So I've dabbled in python but since I never went through and learned it properly it was always a PITA to do anything because I'd have to do a lot of googling. So now I'm trying to learn in a more organized way. If anyone here would like to join me or just join in in this thread if you are more knowledgeable about python please by all means do so.
I'm currently reading through this beginners guide: https://thepythonguru.com/
This is all easy stuff for me so far but it's still a lot of stuff I'd have to look up. Like I know there is "something like that" but I would need to look up "exactly how to do that".
In any event there are a couple of things I'm not liking so far but I'm sure I'll get used to.
slicing:
includes the first index but not the last one? wtf, python? fuck you because that's going to be annoying for a while.
in:
so they show me "in" as in "is this in that, true or false?" cool. makes sense. then they show me "in" in a for loop and now it is suddenly something else. it's now a way to iterate through a list? See example below:
>>> list = [1,2,3,4,5]
>>> for i in list:
... print(i, end=" ")
1 2 3 4 5
"i" wasn't previously defined below so it's not like it's a checking if "i" is in the list. that's fucking stupid. why do that?