From bed618c6b7c87d29d98bc2f48813f264dc00cd32 Mon Sep 17 00:00:00 2001 From: SahanChan Date: Sun, 27 Oct 2019 20:33:29 +0530 Subject: [PATCH] Added python comments to make reliable --- my_first_calculator.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/my_first_calculator.py b/my_first_calculator.py index bf7c560..c19020b 100644 --- a/my_first_calculator.py +++ b/my_first_calculator.py @@ -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: diff --git a/setup.py b/setup.py index f4dcc92..7ed0e6d 100644 --- a/setup.py +++ b/setup.py @@ -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()