feat: Initial commit

This commit is contained in:
2024-03-22 17:01:42 +01:00
parent 954985f39a
commit c343ff6e93
106 changed files with 143428 additions and 1 deletions

18
Laboratorio4/forme.py Normal file
View File

@@ -0,0 +1,18 @@
n = int(input("Inserisci n: "))
for x in range(n):
print("*"*n)
print()
d = 2*n
for x in range(0, d-1):
a = 1 + x*2
if a > d - 1:
a = d - 1 - (x - n + 1)*2
b = (d - 1 - a)
c = int(b/2)
print(" "*c + "*"*a + " "*c)