Skip to content

Instantly share code, notes, and snippets.

@modos
Created September 7, 2022 20:08
Show Gist options
  • Save modos/ac540869f304b4bc86ecf5a9fb27c632 to your computer and use it in GitHub Desktop.
Save modos/ac540869f304b4bc86ecf5a9fb27c632 to your computer and use it in GitHub Desktop.
شارژ موبایل
k = int(input())
t=0
for i in range(k):
t+=i+1
print(t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment