Parcourir la source

Adding maths corpus

master
Ben Kurtovic il y a 12 ans
Parent
révision
62a9e9c2c3
1 fichiers modifiés avec 25 ajouts et 0 suppressions
  1. +25
    -0
      corpora/maths.py

+ 25
- 0
corpora/maths.py Voir le fichier

@@ -0,0 +1,25 @@
def f1(a):
b = a + 9.0
return b

def f2(a):
b = a - 7.0
return b

def f3(a):
b = a * 5.0
return b

def f4(a):
b = a / 3.0
return b

def f5(a):
b = a ** 2.0
return b

def f6(a):
b = a % 10.0
return b

corpus = [f1, f2, f3, f4, f5, f6]

Chargement…
Annuler
Enregistrer