# comment code using this
print("\n".join([
f'{a ** 2}'
for a in range (1, 11)
]))1
4
9
16
25
36
49
64
81
100
This is my first blog test!
# comment code using this
print("\n".join([
f'{a ** 2}'
for a in range (1, 11)
]))1
4
9
16
25
36
49
64
81
100
More narrative text can go here, interleaved with further code cells as needed.
import matplotlib.pyplot as plt
x = list(range(10))
y = [v ** 2 for v in x]
plt.plot(x, y, marker="o")
plt.title("A simple test plot by Pratyush")
plt.show()
Get notified of new posts
Leave your email to hear about similar blog posts in the future.
Thanks - you're on the list!