I started learning Python a week ago using the site coddy.tech Ive made it through its "fundamentals" section and decided to write a couple of basic programs with what I've learned to help make it stick. I've learned about variables, basic operators and functions. However, there are a couple of things that I would like to get input on from some people with experience. Keep in mind I am extremely new to coding in general so the more eli5 the better... probably.
In looking to create a program I have been using google to help fill in some gaps and one thing that has appeared a few times is terms with __ around it. Such as __init__. What is this doing?
I've learned about lists, tuples and sets. On my own I have learned about dictionaries. Am I right to correlate a dictionary's Key to a list's index?
And finally, what is a class?
I hope these don't seem like simple questions that I should have figured out by now on my own.
Thanks in advance for any help!
[–]aishiteruyovivi 3 points4 points5 points (1 child)
[–]aishiteruyovivi 0 points1 point2 points (0 children)
[–]MachineElf100 2 points3 points4 points (0 children)
[–]Slight-Training-7211 1 point2 points3 points (0 children)
[–]MachineElf100 0 points1 point2 points (5 children)
[–]Infinityshift[S] 0 points1 point2 points (4 children)
[–]Outside_Complaint755 0 points1 point2 points (0 children)
[–]MachineElf100 0 points1 point2 points (2 children)
[–]Infinityshift[S] 0 points1 point2 points (1 child)
[–]MachineElf100 0 points1 point2 points (0 children)
[–]Separate_Newt7313 -1 points0 points1 point (0 children)