We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae196c6 commit c3cbf86Copy full SHA for c3cbf86
Roadmap/17 - ITERACIONES/python/victorfer69.py
@@ -0,0 +1,39 @@
1
+#EJERCICIO
2
+
3
+for i in range(1, 11):
4
+ print(i)
5
+print("==============")
6
7
+i = 1
8
+while(i < 11):
9
10
+ i += 1
11
12
13
+def function_recursive(i:int):
14
+ if i == 10:
15
16
+ else:
17
18
19
+ function_recursive(i)
20
21
+function_recursive(1)
22
23
24
+#EJERCICIO EXTRA
25
26
+for i in [1, 2, 3]:
27
28
29
30
+for i in {1, 2, 3}:
31
32
33
34
+for i in {1: "a", 2: "b", 3: "c"}:
35
36
37
38
+print(*[i for i in range(1, 11)], sep="\n")
39
0 commit comments