Two Triangles - 3
Never
def getPattern(n): if n==0: return '' elif n==1: return '* *' else: result = ['*'+' '*(2*n-2)+'*'] for x in range(1,n-1): result.append('*'+' '*(x-1)+'*') result[-1] += ' '*(2*n-4-(2*x-2)) result[-1] += '*'+' '*(x-1)+'*' result.append('*'*2*n) return '\n'.join(result) n = int(input()) print(getPattern(n))
Raw Text
-
Adult Telegram Channels
34 min ago
-
🍑🍑🍑 NEW CP UPDATE MAY 2024 VIDEOS WORKING ALL FREE FOLDER 🍑🍑🍑
36 min ago
-
CPLOLI
1 hour ago
-
720GB CeePee
1 hour ago
-
MEGA PACK C...P CALDO DE POLLO NUEVO MEDIAFIRE UPFILE pubnotep...
1 hour ago
-
dsgdsgdgssdgdsgsdg
1 hour ago
-
sdgdsgdgsdsg
1 hour ago
-
gbfdfd v ffv fc f
1 hour ago
-
sdfsfsdsdfsdsdfds
2 hours ago
-
Untitled
2 hours ago