python-tutorial
python-tutorial copied to clipboard
A Python 3 programming tutorial for beginners.
``` sentence = input("Enter a sentence: ") counts = {} for word in sentence.split(): counts[word] = counts.get(word, 0) + 1 two cases: word is not in counts, word is in...
list-comprehension.md Taking a class on github and I had to contribute to a repository. So I thought contributing to a python-tutorial would be interesting. I can add or change more...
It is saying "these editors are BAD" and listing a bunch of common editors. It's just not a good thing.
Just, a few line of code....and number swaped .For the one new to the python
Adding some code examples for pythin beginners . Will be happy to help you with more . Looking forward to contribute more. Thank You . I hope you will add...
`{**dict1, **dict2}` for example is a pretty basic thing, shouldn't be in "advanced" section
I have added proper links for python download and put a new installation image. Thank You.
zip and enumerate are not explained at all... i see them used in the answers, but i had to look them up to make sense of them, was that expected?