Skip to content

Commit 48ad004

Browse files
committed
Pending changes exported from your codespace
1 parent 0f6230e commit 48ad004

File tree

90 files changed

+542
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+542
-24
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
my_list = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday']
2+
3+
# 1. Print the 3rd item here
4+
5+
# 2. Change the value of 'thursday' to None
6+
7+
# 3. Print that position now here
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
my_list = [4,5,734,43,45,100,4,56,23,67,23,58,45,3,100,4,56,23]
2+
3+
# Print in the console the 1st element on the list
4+
5+
# Print in the console the 4th element on the list
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# import the random package here "import random"
2+
import random
3+
4+
def generate_random_list():
5+
aux_list = []
6+
randonlength = random.randint(1, 100)
7+
8+
for i in range(randonlength):
9+
aux_list.append(randonlength)
10+
i += i
11+
return aux_list
12+
13+
my_stupid_list = generate_random_list()
14+
15+
# Write your code below this comment, good luck!
16+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Your code here, have fun:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Remember to import random function here
2+
3+
my_list = [4, 5, 734, 43, 45]
4+
5+
# The magic goes below

.learn/resets/02-Loop-list/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
my_list = [232,32,1,4,55,4,3,32,3,24,5,5,5,34,2,35,5365743,52,34,3,55]
2+
3+
# Your code here
4+
print(my_list[0])
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
my_sample_list = [3423,5,4,47889,654,8,867543,23,48,56432,55,23,25,12]
2+
3+
# Modify the loop below to print from end to start
4+
5+
for i in range(0, len(my_sample_list)):
6+
print(my_sample_list[i])
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
my_sample_list = [3423,5,4,47889,654,8,867543,23,48,56432,55,23,25,12]
2+
3+
# Your code below, don't change anything above
4+
5+
for i in range(0, len(my_sample_list), 1):
6+
print(my_sample_list[i])
7+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
my_list = [3423,5,4,47889,654,8,867543,23,48,56432,55,23,25,12]
2+
3+
# Your code here
4+
inicial_value = 0
5+
stop_value = 0
6+
increase_value = 0
7+
8+
for i in range(inicial_value, stop_value, increase_value):
9+
print(my_list[i])

0 commit comments

Comments
 (0)