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 🙂
https://twitter.com/Magneet_nl/status/1347431079121211392
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
