refactor: cleanup 268B

This commit is contained in:
Muhammad Nauman Raza 2025-01-17 13:38:29 +00:00
parent b7a8d9b980
commit bc2ef0e085
Signed by: devraza
GPG key ID: 91EAD6081011574B

3
solutions/python/268B.py Normal file
View file

@ -0,0 +1,3 @@
n = int(input())
print(round((n-1)*n*(n+1)/6+n))