Why when i try to run it i get the EOFError? I don't get it when i test in Python 3.6.5 Shell
from datetime import datetime
a = datetime.now()
c = str(a.hour) + str(a.minute)
b = input("Please, print the password here (without letters!): ")
if b.isdigit():
if(b == c):
print("ACCESS CONFIRMED")
else:
print("ACCESS DENIED")
else:
print("Please, don't print letters.")
print("Reset the program.")
# TODO: Replace examples and use TDD development by writing your own tests
# These are some of the methods available:
# test.expect(boolean, [optional] message)
# test.assert_equals(actual, expected, [optional] message)
# test.assert_not_equals(actual, expected, [optional] message)
# You can use Test.describe and Test.it to write BDD style test groupings