Skip to content
Snippets Groups Projects
Commit 20d84c4e authored by Markus Opolka's avatar Markus Opolka
Browse files

Add solutions to aufg1

parent ea0c786e
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,17 @@
import sys
def multiply(x, y):
pass
def mul(x, y):
return x * y
def add(x, y):
return x + y
def sub(x, y):
return x - y
def div(x, y):
return x / y
def main(args):
......
#!/usr/bin/env python3
import math
def calc_area(r):
pass
return math.pi * (r ** 2)
def main():
......
......@@ -5,7 +5,11 @@ import sys
def tokenize(string):
pass
string = string.replace(".", " . ")
string = string.split()
return string
def main(args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment