Advertisement
biswasrohit20

s1

Mar 28th, 2021
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. triangle_char = input('Enter a character:\n')
  2. print()
  3. print(*1*(triangle_char,), sep=' ')
  4. print(*2*(triangle_char,), sep=' ')
  5. print(*3*(triangle_char,), sep=' ')
  6. print(*4*(triangle_char,), sep=' ')
  7. print(*5*(triangle_char,), sep=' ')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement