-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmy_first_notebook.py
More file actions
106 lines (43 loc) · 855 Bytes
/
Copy pathmy_first_notebook.py
File metadata and controls
106 lines (43 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#!/usr/bin/env python
# coding: utf-8
# In[5]:
type(123)
# In[6]:
type('hello')
# In[7]:
type(True)
# In[9]:
favorite_number = 42
n = favorite_number + 7
n
# In[17]:
x = 1
print(x)
x += 1
print(x)
x += x * 3
print(x)
# In[36]:
is_first_of_month = True
report_has_been_sent = False
should_process_report = is_first_of_month and not report_has_been_sent
print(should_process_report)
# In[37]:
'hello' == 'Hello'
# In[38]:
4 + 5 > 10 - 2
# In[44]:
s = ' Hello, Codeup '
s.lower()
s.strip().split(', ')
# In[46]:
', '.join(['one', 'two', 'three'])
# In[ ]:
#Esc + b creates a cell under the cell you are currently in
# In[ ]:
#Esc + x deletes the cell you are currently in
# In[ ]:
#Esc + a creates a cell above the cell you are currently in
# In[1]:
pip install pydataset
# In[ ]: