Skip to content

Commit 7520345

Browse files
committed
REPL From FEM Nina's class
1 parent 2840dcc commit 7520345

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

  • pyworkshop/1_intro_python/chapter1
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#REPL
2+
Read, Evaluate, Print, Loop
3+
name="g3"
4+
# type(name)
5+
# dir(name)
6+
# name.upper()
7+
# help(str) -> pass the type
8+
9+
# help(str.upper)
10+
11+
# type, help and dir are best friends
12+
13+
############
14+
15+
# COMMON REPL MISTAKES
16+
17+
# Variables cannot start with a number
18+
# Read trace backs from bottom to top
19+
# Don't user reserved words for variable names
20+
#

0 commit comments

Comments
 (0)