Day 5 was al about loops and ranges + some additions to previous lessons. After the training I also spend some time playing with Powershell and Splunk Programming Language 🙂
And that's the course part for day 5 of my #100daysofcode challenge the #python course part done. Will have plenty of work related powershell things to do :). Worked on for loops and range today and learned something new from the random module
— Wouter Kursten (@Magneet_nl) January 8, 2021
Notes:
for loop
for item in list:
do something
range of numbers = rang(0,100) https://www.w3schools.com/python/ref_func_range.asp
sum() = sum of int
len() = amount of entries in list
max() = highest in list
min() = lowest in list
random.shuffle to shuffle things around in a list
