Skip to content

Instantly share code, notes, and snippets.

@aodag
Forked from oyakata/README.rst
Created December 28, 2011 02:10
Show Gist options
  • Save aodag/1525835 to your computer and use it in GitHub Desktop.
Save aodag/1525835 to your computer and use it in GitHub Desktop.
かけ算

result

♥♥

Press ENTER or type command to continue

# -*- coding:utf-8 -*-
class Person(object):
def __mul__(self, other):
return "♥♥"
def main():
drillbits, pasberth = Person(), Person()
print(drillbits * pasberth)
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment