cmd+k|ctrl+k
cmd+k
ctrl+k
Navigation
Browse public code snippets.
Contact us about glot.io.
Read the privacy policy.
Manage snippets in your account.
Open your account settings.
Languages
Create a new Python snippet.
Create a new TypeScript snippet.
Create a new C snippet.
Create a new Rust snippet.
Create a new Java snippet.
Python
public
dharmendrarah
2023-01-08T16:01:45.124189Z
2023-01-08T16:07:08.763514Z
my_list=[1,2,3,4,5,6,7,8,9,10] sum=0 for x in my_list: sum=sum+x print(sum)