Advertisement
estefani-adriano

Multiplication Table 02! PYTHON

Oct 13th, 2023 (edited)
1,095
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.59 KB | Software | 0 0
  1. #Multiplication Table Model 02
  2.  
  3. t = int(input('Which multiplication table do you want? '))
  4.  
  5. print('-'*12)
  6. print('{} X  {} = {}'.format(t, 0, t*0))
  7. print('{} X  {} = {}'.format(t, 1, t*1))
  8. print('{} X  {} = {}'.format(t, 2, t*2))
  9. print('{} X  {} = {}'.format(t, 3, t*3))
  10. print('{} X  {} = {}'.format(t, 4, t*4))
  11. print('{} X  {} = {}'.format(t, 5, t*5))
  12. print('{} X  {} = {}'.format(t, 6, t*6))
  13. print('{} X  {} = {}'.format(t, 7, t*7))
  14. print('{} X  {} = {}'.format(t, 8, t*8))
  15. print('{} X  {} = {}'.format(t, 9, t*9))
  16. print('{} X {} = {}'.format(t, 10, t*10))
  17. print('-'*12)
  18.  
  19. #by Estéfani =D
Tags: python
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement