Wsq03

Fun with Numbers


Instructions:
Ask the user for 2 integer numbers, then use those values to calculate:


  1. The sum of the 2 numbers
  2.  Difference between them
  3.  The product 
  4.  The integer based division (no decimal point)
  5.  The remainder of the integer division


First i looked for math operations with python and found this youtube video:

Then i had some trouble with my variables because they were strings and i converted them to integers using int (), but after that minor struggle the program runned just fine.
I'll leave a link to my code:

Comentarios

Entradas más populares de este blog

Security Countermeasures and Denial of Service