Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1: None x None = None
- 2: 99 x 91 = 9009
- 3: 913 x 993 = 906609
- 4: 9999 x 9901 = 99000099
- 5: 99979 x 99681 = 9966006699
- 6: 999999 x 999001 = 999000000999
- 7: 9997647 x 9998017 = 99956644665999
- 8: 99999999 x 99990001 = 9999000000009999
- 9: 999920317 x 999980347 = 999900665566009999
- 10: 9999999999 x 9999900001 = 99999000000000099999
- nine = '9'*(num/2)
- num1 = nine + nine
- num2 = nine + '0'*(-1 + num/2) + '1'
- product = nine + '0'*(num) + nine
- return ((int(num1), int(num2)), int(product))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement