Abhishek-debug782
c235e4533c
Code size fixed and calculation efficiency improved.
...
Number of lines reduced, efficiency of program is improved and added Invalid Choice handling, if user enters incorrect symbol other than +, -, *, / then output print like Invalid Choice, enter correct choice.
2020-10-01 12:42:48 +05:30
AceLewis
a7aabeaf49
Merge branch 'master' of https://github.com/AceLewis/my_first_calculator.py
2016-05-15 22:10:19 +01:00
AceLewis
32d7af75bb
Recommended from future import division
2016-05-15 22:09:31 +01:00
AceLewis
a8cf47e9c7
Updated the archived 0 to 100
2016-05-15 22:08:25 +01:00
Alexander Lewis
aaa02efd6f
Merge pull request #13 from clearsense/master
...
fix num_of_ifs calculation
2016-05-14 23:05:34 +01:00
clearsense
22fff8911c
fix num_of_ifs calculation
...
num_of_ifs should be calc like this, because numeration start from 0
2016-05-14 17:00:29 +03:00
AceLewis
1d300c065e
Fixed 0/0 being Inf not undefined
...
I also made the prints fit on one line. Although the line length is
larger than it should be I don't think it matter too much as modern
monitors can easily display lines that long and it is much easier to
read.
2016-05-10 16:23:54 +01:00
Alexander Lewis
d1fd350e83
Merge pull request #5 from JuanPotato/master
...
Fixed decimal precision, fixes #3
2016-05-09 09:11:26 +01:00
JuanPotato
e4a26bb272
Fixed decimal precision
2016-05-08 19:26:00 -04:00
Alexander Lewis
ce012e5782
Merge pull request #1 from SVilgelm/setup.py
...
Thank you
2016-05-07 09:37:06 +01:00
Sergey Vilgelm
54b6d9fc34
Add setup.py
...
setup.py module makes it possible to install the my_first_calculator.py script into virtualenv.
2016-05-06 22:34:04 -07:00
Alexander Lewis
d33b3752cd
Next time spell check before pushing
2016-05-06 18:52:56 +01:00
AceLewis
5b9ef48f1f
First commit
2016-05-06 18:48:18 +01:00
AceLewis
f8a9aace4d
:neckbeard: Added .gitattributes & .gitignore files
2016-05-05 22:42:39 +01:00