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
alokhegde
2020-10-06T10:25:36Z
2020-10-06T10:30:48Z
def multiply_by2(item): return item*2 print(list(map(multiply_by2,[1,2,3])))