Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrew
intro
Commits
38cf9487
Commit
38cf9487
authored
May 08, 2019
by
JackV
Browse files
Typo Fix
parent
18dd7b1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Intro_Python.ipynb
View file @
38cf9487
...
...
@@ -29,11 +29,11 @@
## Commenti
%% Cell type:code id: tags:
```
python
# Ciao, io sono un commento
print
(
'ciao'
)
# Ciao, io sono un commento
```
%% Cell type:markdown id: tags:
## Errori
...
...
@@ -172,10 +172,16 @@
```
%% Cell type:code id: tags:
```
python
tupla
```
%% Cell type:code id: tags:
```
python
tupla
[
1
]
=
1.0
```
%% Cell type:code id: tags:
...
...
@@ -198,17 +204,29 @@
```
%% Cell type:code id: tags:
```
python
d
```
%% Cell type:code id: tags:
```
python
d
[
'nome'
]
```
%% Cell type:code id: tags:
```
python
print
(
'these things '
+
' '
.
join
(
d
[(
'immutable'
,
'types'
)]))
z
=
d
[(
'immutable'
,
'types'
)]
```
%% Cell type:code id: tags:
```
python
print
(
'these things '
+
z
[
0
]
+
' '
+
z
[
1
])
```
%% Cell type:markdown id: tags:
## Formattazione Output
...
...
@@ -238,11 +256,11 @@
```
%% Cell type:code id: tags:
```
python
s
.
format
(
tipo
=
'avanzati'
,
argomento
=
'antani
'
)
s
.
format
(
tipo
=
'avanzati'
,
argomento
=
'Linux
'
)
```
%% Cell type:code id: tags:
```
python
...
...
@@ -341,11 +359,11 @@
```
%% Cell type:code id: tags:
```
python
def
f
(
a
,
b
=
3
,
c
=
6
):
def
f
(
a
,
b
=
3
,
c
=
6
):
print
(
a
,
b
,
c
)
```
%% Cell type:code id: tags:
...
...
@@ -360,11 +378,11 @@
```
%% Cell type:code id: tags:
```
python
f
(
1
,
c
=
4
)
f
(
1
,
c
=
4
)
```
%% Cell type:code id: tags:
```
python
...
...
content.md
View file @
38cf9487
...
...
@@ -15,7 +15,7 @@ Potete ottenere questa presentazione recandovi all'indirizzo:
----
# Come Scrivere Hello
Hello
World
# Come Scrivere Hello World
## C
...
...
@@ -399,7 +399,7 @@ assegnata. Infatti dentro la funzione la variabile `x` non esiste.
# Nella prossima puntata
Giovedì 19 alle 17.15 in aula
5.0
.2
.
Giovedì 19 alle 17.15 in aula
D.3
.2
*
Utilizzo File
*
List Comprehension
...
...
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