Penalty kicks are exciting, especially if they are awarded to the side that you are supporting. Let’s write some Python code to simulate them!
Read moreCategory: Data analysis
[Python] Greatest Common Factor
The Greatest Common Factor or GCF of two numbers is the largest integer that divides both numbers evenly, i.e., without remainders.
Read more[Python] Happy numbers
Happy numbers are numbers that eventually reach 1 if we sum the square of their digits and continue this process.
Read more[Python] Pandigital numbers
A pandigital number is a number that contains each digit starting from one up to the total length of the number, like 14325.
Read more[Python] Law of Large Numbers: Dice Roll
Easy experiment in line with the Law of Large Numbers: That is to roll a dice for several times and see whether the average converges to the true value.
Read more