Advertisement
fkudinov

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

Dec 7th, 2023
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 KB | Source Code | 0 0
  1. def checkio(first, second):
  2.     return
  3.  
  4.  
  5. #These "asserts" using only for self-checking and not necessary for auto-testing
  6. if __name__ == '__main__':
  7.     assert checkio("hello,world", "hello,earth") == "hello", "Hello"
  8.     assert checkio("one,two,three", "four,five,six") == "", "Too different"
  9.     assert checkio("one,two,three", "four,five,one,two,six,three") == "one,three,two", "1 2 3"
Tags: checkio
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement