feat: Initial commit
This commit is contained in:
7
Laboratorio6/saldoBancario.py
Normal file
7
Laboratorio6/saldoBancario.py
Normal file
@@ -0,0 +1,7 @@
|
||||
def calcolaSaldo(saldo, tasso, anni):
|
||||
for _ in range(anni):
|
||||
saldo *= (1 + tasso)
|
||||
|
||||
return saldo
|
||||
|
||||
print(calcolaSaldo(10000, 0.01, 10))
|
||||
Reference in New Issue
Block a user