Skip to content
Browse files

Started function-return.py.

  • Loading branch information...
1 parent 9a94aa4 commit e1e07a2aaa59776d3eb00c5ce914775f47be9c85 @marios-zindilis committed Oct 13, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 function-return.py
View
11 function-return.py
@@ -0,0 +1,11 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+# Filename: function-return.py
+
+def maximum(x, y):
+ if x > y:
+ return x
+ else:
+ return y
+
+print maximum(2, 3)

0 comments on commit e1e07a2

Please sign in to comment.
Something went wrong with that request. Please try again.