Merge branch 'master' of https://github.com/AceLewis/my_first_calculator.py
This commit is contained in:
commit
a7aabeaf49
|
|
@ -9,7 +9,7 @@ min_num = 0
|
||||||
max_num = 50
|
max_num = 50
|
||||||
nums = range(min_num, max_num+1)
|
nums = range(min_num, max_num+1)
|
||||||
signs = ['+', '-', '/', '*']
|
signs = ['+', '-', '/', '*']
|
||||||
num_of_ifs = len(signs)*(max_num-min_num)**2
|
num_of_ifs = len(signs)*(max_num-min_num+1)**2
|
||||||
|
|
||||||
print("""# my_first_calculator.py by AceLewis
|
print("""# my_first_calculator.py by AceLewis
|
||||||
# TODO: Make it work for all floating point numbers too
|
# TODO: Make it work for all floating point numbers too
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue