Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Corsi
Slides Corsi Python
intro
Commits
3c6c70e0
Commit
3c6c70e0
authored
May 02, 2019
by
JackV
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/intro_tra'
parents
73c4ad1e
d87c4269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
5 deletions
+23
-5
content.md
content.md
+23
-5
No files found.
content.md
View file @
3c6c70e0
...
...
@@ -11,9 +11,12 @@ Potete ottenere questa presentazione recandovi all'indirizzo:
-
Facile da usare
-
Estremamente diffuso
-
Moduli per qualunque cosa
-
Immediato
----
# Come Scrivere Hello HelloWorld
## C
```
c
...
...
@@ -44,7 +47,7 @@ public class HelloWorld {
```
python
print
(
'Hello, world!'
)
```
- Facile, No ?
----

...
...
@@ -55,18 +58,20 @@ print('Hello, world!')
-
Nasce nel 1991 per mano di Guido van Rossum
-
Prende il nome dai Monty Python
-
È in continua evoluzione
-
È in continua evoluzione
( Costantemente Aggioranto)
-
Convivono due versioni (2 e 3)
-
La versione 2 verrà deprecata alla fine di quest'anno
-
Noi useremo Python 3
-
Fatelo anche voi
-
Fatelo anche voi
( Per tutti i futuri sviluppatori)
----
## Interpretato vs. compilato
-
Compilato: tradotto in linguaggio macchina
C: come compito scritto --> Una volta consegnato, non puoi modificare
-
Interpretato: eseguito da un altro programma
come un orale --> capacità di modificare rapidamente un errore
-
Python è interpretato (circa)
Notes:
...
...
@@ -115,7 +120,7 @@ software che si interfaccia con l'utente).
```
```
>>> 4 < 5
>>> 4 < 5
True
```
...
...
@@ -168,7 +173,20 @@ Il segreto degli [hacker](http://www.girodivite.it/Diario-di-un-aspirante-hacker
>>> z
8
```
----
Le Variabili di Python non sono fisse e possono facilmente essere cambiate
'''
>>> x = 2
>>> x
2
>>> type(x)
<class
'
int
'
>
>>> x = 'stringa'
>>> type(x)
<class
'
str
'
>
# facilmente si può modificare il tipo
# in linguaggi compilati tipo C ciò non è possibile
>>>
'''
----
## Liste (`list`)
...
...
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