Question #278558

Print intverted hollow right angled triangle with spcl characters...(input-5)

- - - - - -

| /

| /

| /

| /

| /



Expert's answer

n = int(input())
if n > 0:
	print('- '*n + '-')
	for i in range(n):
		print('|' + '  '*(n-i-1) + '/' )

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS