Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tap1012
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mario Chirinos Colunga
tap1012
Commits
42ada44a
Commit
42ada44a
authored
Jan 22, 2019
by
alan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V02
parent
1a3ff187
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
01-DataTypes&ControlFlow.ipynb
01-DataTypes&ControlFlow.ipynb
+12
-8
No files found.
01-DataTypes&ControlFlow.ipynb
View file @
42ada44a
...
...
@@ -875,7 +875,7 @@
},
{
"cell_type": "code",
"execution_count":
160
,
"execution_count":
5
,
"metadata": {},
"outputs": [
{
...
...
@@ -883,7 +883,7 @@
"output_type": "stream",
"text": [
"Cuantos numeros de Fibonacci desea:\n",
"1
0
\n",
"1
5
\n",
"[1]\n",
"[1, 1]\n",
"[1, 1, 2]\n",
...
...
@@ -893,13 +893,17 @@
"[1, 1, 2, 3, 5, 8, 13]\n",
"[1, 1, 2, 3, 5, 8, 13, 21]\n",
"[1, 1, 2, 3, 5, 8, 13, 21, 34]\n",
"[1, 1, 2, 3, 5, 8, 13, 21, 34, 55]\n"
"[1, 1, 2, 3, 5, 8, 13, 21, 34, 55]\n",
"[1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]\n",
"[1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144]\n",
"[1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233]\n",
"[1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377]\n",
"[1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610]\n"
]
}
],
"source": [
"def fibonacci(n):\n",
" pass\n",
"\n",
"a = 0\n",
"b = 1\n",
"fib = []\n",
...
...
@@ -993,15 +997,15 @@
},
{
"cell_type": "code",
"execution_count": 2
6
,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Numero a comprobar:
99999999
\n",
"El
99999999 , NO es perfecto
\n"
"Numero a comprobar:
6
\n",
"El
6 es perfecto
\n"
]
}
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment