diff --git a/.learn/resets/02-Hello-World/app.py b/.learn/resets/02-Hello-World/app.py new file mode 100644 index 0000000..801de24 --- /dev/null +++ b/.learn/resets/02-Hello-World/app.py @@ -0,0 +1 @@ +# your code here \ No newline at end of file diff --git a/.learn/resets/03-What-is-a-function/app.py b/.learn/resets/03-What-is-a-function/app.py new file mode 100644 index 0000000..daa9ff3 --- /dev/null +++ b/.learn/resets/03-What-is-a-function/app.py @@ -0,0 +1,5 @@ +def sum(number1,number2): + return number1 + number2 + +total = sum(2,3) +print(total) diff --git a/.learn/resets/04-Call-a-function/app.py b/.learn/resets/04-Call-a-function/app.py new file mode 100644 index 0000000..c856d48 --- /dev/null +++ b/.learn/resets/04-Call-a-function/app.py @@ -0,0 +1,4 @@ +def calculate_area(length,edge): + return length * edge + +# Your code Below this line: \ No newline at end of file diff --git a/exercises/02-Hello-World/app.py b/exercises/02-Hello-World/app.py index 801de24..8e23576 100644 --- a/exercises/02-Hello-World/app.py +++ b/exercises/02-Hello-World/app.py @@ -1 +1 @@ -# your code here \ No newline at end of file +print("Hello World") \ No newline at end of file diff --git a/exercises/03-What-is-a-function/app.py b/exercises/03-What-is-a-function/app.py index daa9ff3..5ff9d91 100755 --- a/exercises/03-What-is-a-function/app.py +++ b/exercises/03-What-is-a-function/app.py @@ -1,5 +1,5 @@ def sum(number1,number2): return number1 + number2 -total = sum(2,3) -print(total) +super_duper = sum(3445324 ,53454423 ) +print(super_duper) diff --git a/exercises/04-Call-a-function/app.py b/exercises/04-Call-a-function/app.py index c856d48..046f5c1 100755 --- a/exercises/04-Call-a-function/app.py +++ b/exercises/04-Call-a-function/app.py @@ -1,4 +1,8 @@ def calculate_area(length,edge): return length * edge -# Your code Below this line: \ No newline at end of file +# Your code Below this line: + +square_area1 = calculate_area(4,4) +square_area2 = calculate_area(2,2) +square_area3 = calculate_area(5,5) \ No newline at end of file