Advertisement
Spocoman

06. Triples of Latin Letters

Jan 19th, 2022
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. num = int(input())
  2. for i in range(97, 97 + num):
  3.     for j in range(97, 97 + num):
  4.         for k in range(97, 97 + num):
  5.             print(f'{chr(i)}{chr(j)}{chr(k)}')
  6.  
  7.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement