Skip to content

Commit cb4f8a7

Browse files
committed
Pending changes exported from your codespace
1 parent 8a2bdab commit cb4f8a7

File tree

18 files changed

+65
-5
lines changed

18 files changed

+65
-5
lines changed

.learn/resets/01-Hello-World/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Your code here
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def sum(number1,number2):
2+
return number1 + number2
3+
4+
# Your code here
5+
total = sum(2,3)
6+
print(total)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
def calculate_area(length, width):
2+
return length * width
3+
4+
# Your code below this line
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Define below the function called "multi" that expects 2 parameters
2+
3+
# Don't edit anything below this line
4+
return_value = multi(7,53812212)
5+
print(return_value)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Your function here
2+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
3+
4+
# Your code above, please do not change code below
5+
print(rapid("bob")) # Should print "bo"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
def dollar_to_euro(dollar_value):
2+
return dollar_value * 0.91
3+
4+
def euro_to_yen(euro_value):
5+
return euro_value * 161.70
6+
7+
####### ↓ YOUR CODE BELOW ↓ #######
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Your code goes here:
2+
def render_person(param):
3+
return param
4+
5+
6+
# Do not edit below this line
7+
print(render_person('Bob', '05/22/1983', 'green', 23, 'male'))

.learn/resets/09-Array-Methods/app.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
names = ['John', 'Kenny', 'Tom', 'Bob', 'Dilan']
2+
3+
## CREATE YOUR FUNCTION HERE
4+
5+
6+
print(sort_names(names))

exercises/01-Hello-World/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
# Your code here
2+
print("Hello World")

0 commit comments

Comments
 (0)