Maybe a tablet.... who knows what is this for?
Answer:
Find answers below
Explanation:
triangle_char = input('Enter a character: ')
triangle_height = int(input('Enter triangle height: '))
print('')
for j in range (triangle_height):
print((triangle_char) * (j + 1))
#below are sample output that can be gotten with predefined values
$ ./triangles.py
Enter characters: jk
Enter height: 8
j
jj
jjj
jjjj
jjjjj
jjjjjj
jjjjjjj
jjjjjjjj
k
kk
kkk
kkkk
kkkkk
kkkkkk
kkkkkkk
kkkkkkkk
Comment<span> (computer programming) ... In computer programming, a </span>comment<span> is a programmer-readable explanation or annotation in the source code of a computer program. They are added with the purpose of making the source code easier for humans to understand, and are generally ignored by compilers and interpreters.</span>