Open oldoc63 opened 1 year ago
-A factor is a number that divides evenly into another number. -In Python you can use the modulo operator (%) to calculate the remainder when dividing two numbers. For example, if a % b equals zero, it means that b divides evenly into a.
Let's use conditionals to write an interactive number-guessing program that seems conscious. In this game I think of a number between 1 and 100, and you guess what the number is.