
#!/usr/bin/pythona = 21b = 10c = 0c = a + bprint 'Line 1 - Value of c is ', cc = a - bprint 'Line 2 - Value of c is ', cc = a. bprint 'Line 3 - Value of c is ', cc = a / bprint 'Line 4 - Value of c is ', cc = a% bprint 'Line 5 - Value of c is ', ca = 2b = 3c = a.bprint 'Line 6 - Value of c is ', ca = 10b = 5c = a//bprint 'Line 7 - Value of c is ', cWhen you execute the above program, it produces the following result −Line 1 - Value of c is 31Line 2 - Value of c is 11Line 3 - Value of c is 210Line 4 - Value of c is 2Line 5 - Value of c is 1Line 6 - Value of c is 8Line 7 - Value of c is 2.