Skip to content

Commit 1c0b121

Browse files
author
Dhvani Patel
committed
Fixed keras model, training now:
;
1 parent deb2b95 commit 1c0b121

File tree

5 files changed

+878
-392
lines changed

5 files changed

+878
-392
lines changed

__pycache__/toCheck.pypy-41.pyc

11.5 KB
Binary file not shown.

add_num.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
total = 0
2+
3+
with open('../secondThou.txt', 'r') as inp:
4+
for line in inp:
5+
try:
6+
num = float(line)
7+
total += num
8+
except ValueError:
9+
print('{} is not a number!'.format(line))
10+
11+
print('Total of all numbers: {}'.format(total))

0 commit comments

Comments
 (0)