a093: Right Angled Triangle
Tags :
Accepted rate : 417人/447人 ( 93% ) [非即時]
評分方式:
Strictly

最近更新 : 2022-08-15 05:09

Content

print a right angled triangle with given size

Input

a integer 'size' represent the size

0<size<=20

Output

a right angled triangle composed by *

Sample Input #1
1
Sample Output #1
*
Sample Input #2
2
Sample Output #2
*
**
Sample Input #3
5
Sample Output #3
*
**
***
****
*****
測資資訊:
記憶體限制: 64 MB
不公開 測資點#0 (33%): 1.0s , <1K
不公開 測資點#1 (33%): 1.0s , <1K
不公開 測資點#2 (34%): 1.0s , <1K
Hint :

Caution: print of python will automatically go to next line, you need to handle this problem.

Tags:
出處:
[管理者:
kichan@g.pui... (陳嘉賢CHAN KA IN)
]


ID User Problem Subject Hit Post Date
沒有發現任何「解題報告」