LAB2_Python

This is the second lab of EMT1111.This lab involves coding and testing of a program. it will prompt the students for two integer numbers (numbers without decimal points).
It will next display the following output:

  1.  First line: the sum of the first and second number
  2.  Second line: the result of subtracting the second number from the first
  3.  Third line: the product of the first and the second number
  4.  Fourth line: the integer division of the first number by the second number, followed by he remainder from dividing the first number by the second number

and underneath was my results.

SOURCE CODE:
num1 =raw_input(‘please enter your first number:’)
a= int(num1)
num2 =raw_input(‘please enter your second number:’)
b= int(num2)
print ‘The sum of’ ,a, ‘ and ‘ ,b, ‘is:’ ,a+b
print ‘the difference of’,a, ‘and ‘,b, ‘is:’,a-b
print ‘the product of’,a, ‘and ‘,b, ‘is: ‘,a*b
print ‘the quotient of ‘,a,’and ‘,b, ‘is: ‘,a/b, ‘with remainder ‘,a%b