Advertisement
estefani-adriano

Multiplication Table 01! PYTHON

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