4 Feb 2020 Marija Ilic Lists and List Comprehension in Python Everything you need to get started with lists and list comprehension in Python. Here comes the New Year — the perfect time for your own personal re-evaluation and a retrospective of the last year. It's also a great time to sit down and write a list of New Year's resolutions that you are planning to achieve in the incoming year. Are you going to write it on paper or will you reach for your laptop and, like any other nerd, use Excel or some other tool like Python to save and maintain this list? Read more 19 Dec 2019 Marija Ilic How to Generate Random Numbers in Python Sometimes you need a random number or element. How can Python help? The truth is that randomness is all around us. Think about the lottery, a dice roll, or the (extreme) randomness of your office's Secret Santa workings. In this article, we'll discuss pseudo-randomness, how it's different from true randomness, and how it can be applied in Python to generate random numbers. We'll also delve into some more advanced topics, like reproducible coding with random numbers and using the choice() and choices() functions to return random string elements from a list. Read more