Added python comments to make reliable

This commit is contained in:
SahanChan 2019-10-27 20:33:29 +05:30
parent a7aabeaf49
commit bed618c6b7
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ print('It can add, subtract, multiply and divide whole numbers from 0 to 50')
num1 = int(input('Please choose your first number: '))
sign = input('What do you want to do? +, -, /, or *: ')
num2 = int(input('Please choose your second number: '))
#if conditions for printing values in terminal
if num1 == 0 and sign == '+' and num2 == 0:
print("0+0 = 0")
if num1 == 0 and sign == '+' and num2 == 1:

View File

@ -1,7 +1,7 @@
import os
from setuptools import setup
#function named read which takes parameter fname
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()