1+1
2
3/2
1.5
# Import necessary libraries
from fastai2.vision.all import *
import matplotlib.pyplot as plt
from PIL import Image
a = 1
b = a + 1
c = b + a + 1
d = c + b + a + 1
a, b, c ,d
(1, 2, 4, 8)
plt.plot([a,b,c,d])
plt.show()
Image.open('images/chapter1_cat_example.jpg')
%timeit [i+1 for i in range(1000)]
56.1 µs ± 592 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)