Skip to content
Econowmics
Menu
  • Home
  • Economics
    • Econometrics
    • Economics and History
    • Macroeconomics
    • Microeconomics
    • Miscellaneous
      • Awards and Honors
      • Economic Schools of Thought
      • Economic Quotes
      • Economic Videos
    • Terms and Concepts
  • Cognitive Biases
  • Data Analysis
    • Statistics
    • Python Programming
  • Contact
Menu

Category: Python Programming

[Python] Penalty Kicks Simulator

Posted on

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!

[Python] Greatest Common Factor

Posted on

The Greatest Common Factor or GCF of two numbers is the largest integer that divides both numbers evenly, i.e., without remainders.

[Python] Happy numbers

Posted on

Happy numbers are numbers that eventually reach 1 if we sum the square of their digits and continue this process.

[Python] Pandigital numbers

Posted on

A pandigital number is a number that contains each digit starting from one up to the total length of the number, like 14325.

[Python] Law of Large Numbers: Dice Roll

Posted on

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.

Posts navigation

Previous 1 2 3 Next

Anything in here will be replaced on browsers that support the canvas element

  • Amos Tversky
  • Daniel Kahneman
  • cognitive bias
  • Milton Friedman
  • Wealth of Nations
  • Nobel Prize Laureate
  • Adam Smith
  • 20:20 ratio
  • law of small numbers
  • the halo effect
  • wealth inequality
  • income inequality
  • Law of Large Numbers
  • Dow Jones Industrial Average
  • status quo bias
  • Behavioral Economics
  • daniel kahnemann
  • hyperinflation
  • the gambler's fallacy
  • gambler's fallacy
©2023 Econowmics | Design: Newspaperly WordPress Theme