Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
  • 9 commits
  • 3 files changed
  • 0 commit comments
  • 3 contributors
Showing with 29 additions and 0 deletions.
  1. +23 −0 funcion_2.py
  2. +5 −0 lib7.py
  3. +1 −0  mathdaw
View
23 funcion_2.py
@@ -0,0 +1,23 @@
+#-------------------------------------------------------------------------------
+# Name: module2
+# Purpose:
+#
+# Author: Beatriz Vidal
+#
+# Created: 19/04/2012
+# Copyright: (c) ALUMNO 2012
+# Licence: <your licence>
+#-------------------------------------------------------------------------------
+#!/usr/bin/env python
+def calcularDistancia(x,y):
+ distancia=x-y;
+ return distancia;
+
+def main():
+ distancia1=20;
+ distancia2=13;
+ resultado=calcularDistancia(distancia1,distancia2);
+ print "la distancia entre los dos puntos es %d" %resultado+ " metos";
+
+if __name__ == '__main__':
+ main()
View
5 lib7.py
@@ -0,0 +1,5 @@
+def f9(x,y):
+ if x<y:
+ return x
+ else:
+ return y
1  mathdaw
@@ -0,0 +1 @@
+Subproject commit b20a326efad171687122285701cf351586695fb0

No commit comments for this range

Something went wrong with that request. Please try again.