This is a 21-page course for the Swiftener Python Playground. Open this tab, wait until Python is ready. The first import of wordcloud installs via micropip. Then plt.imshow and plt.show().
Goal
Finish every chapter by running the copy-paste blocks in the workbench. The last chapter is a small kiosk story you can reuse.
How to take the course
- Keep this tutorial tab and the Python Playground side by side.
- Copy an exercise, paste it as the whole editor, then run it.
- Every block ends with
plt.imshow(...)thenplt.show(). The firstimport wordcloudmay take a minute.
City names in the examples are Nairobi, Mombasa, Kisumu, Nakuru, and Eldoret.