Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 19f4c06

Browse files
Some video recorded
1 parent 19167df commit 19f4c06

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎basic_data_types/strings.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
print(message) # But replace doesn't modify the original variable
6161

6262
new_message = message.replace('World', 'Universe')
63-
print(new_message)
63+
print('Questo è new_message '+new_message)
6464

6565
# If we want to change the original string we can do this.
6666
message = message.replace('World', 'Moon')

‎data_structures/lists.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
# LISTS
33
#####
44

5-
# Lists are mutable collections, we can modify them.
5+
# Lists are mutable, ordered collections that allow duplicates
66
# Elements of lists are inside [ ]
77

8-
courses = ['History', 'Math', 'Physics', 'ComputerScience']
8+
courses = ['History', 'Math', 'Physics', 'ComputerScience', 'History']
9+
910
print(courses)
1011
print(len(courses))
1112
print(courses[0]) # Usage of index in lists

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /