Advertisement
fkudinov

4. Three Words / Вирішуємо задачі на Python CheckIO Українською

Dec 7th, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.58 KB | Source Code | 0 0
  1. def checkio(words: str) -> bool:
  2.     return False
  3.  
  4.  
  5.  
  6. #These "asserts" using only for self-checking and not necessary for auto-testing
  7. if __name__ == '__main__':
  8.     print('Example:')
  9.     print(checkio("Hello World hello"))
  10.    
  11.     assert checkio("Hello World hello") == True, "Hello"
  12.     assert checkio("He is 123 man") == False, "123 man"
  13.     assert checkio("1 2 3 4") == False, "Digits"
  14.     assert checkio("bla bla bla bla") == True, "Bla Bla"
  15.     assert checkio("Hi") == False, "Hi"
  16.     print("Coding complete? Click 'Check' to review your tests and earn cool rewards!")
Tags: checkio
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement