We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c7382e commit 9cb397dCopy full SHA for 9cb397d
neural_network/recurrent_neural_network.py
@@ -90,6 +90,6 @@ def forward_propagation_rnn(expected: int, number_propagations: int) -> float:
90
91
doctest.testmod()
92
93
- expected = int(input("Expected value: "))
94
- number_propagations = int(input("Number of propagations: "))
+ expected = int(input("Expected value: ").strip())
+ number_propagations = int(input("Number of propagations: ").strip())
95
print(forward_propagation_rnn(expected, number_propagations))
0 commit comments