Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FONT = ("--X--XXX-XXX-X-X-XXX--XX-XXX-XXX--XX-XX--"
- "-XX----X---X-X-X-X---X-----X-X-X-X-X-X-X-"
- "--X---XX--X--XXX-XX--XXX--X--XXX-XXX-X-X-"
- "--X--X-----X---X---X-X-X-X---X-X---X-X-X-"
- "--X--XXX-XXX---X-XX---XX-X---XXX-XX---XX-")
- def recognize(image):
- return 1
- if __name__ == '__main__':
- # These "asserts" using only for self-checking and not necessary for auto-testing
- assert recognize([[0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0],
- [0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0],
- [0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0],
- [0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0],
- [0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0]]) == 394, "394 clear"
- assert recognize([[0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0],
- [0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0],
- [0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0],
- [0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0],
- [0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0]]) == 394, "again 394 but with noise"
- print("Earn cool rewards by using the 'Check' button!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement