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
petersnpan2047
2026-05-04T07:11:38.733761Z
2026-05-04T07:12:05.857886Z
def func(x,y): return x * y # operator overload print(func("z",2)) print(func(2,2))