Advertisement
fkudinov

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

Dec 6th, 2023
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | Source Code | 0 0
  1.  
  2. def mult_two(a: int, b: int) -> int:
  3.     # your code here
  4.     return 0
  5.  
  6.  
  7. print('Example')
  8. print(mult_two(1, 2))
  9.  
  10. assert mult_two(3, 2) == 6
  11. assert mult_two(0, 1) == 0
  12. assert mult_two(6, 3) == 18
  13. assert mult_two(6, 7) == 42
  14.  
  15. print("The first mission is done! Click 'Check' to earn cool rewards!")
  16.  
Tags: checkio
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement