From Carnegie Mellon. Open to everyone.
Programming for People Who Love Ideas
Start with a scientific question worth answering — how DNA forms patterns, how birds flock without a leader, how complex life emerges from simple rules. Read, code, and practice your way to the answer.
Table of Contents
Building a Gravity Simulator with Object-Oriented Programming
We'll introduce object-oriented programming and abstraction, then simulate how a small universe of bodies moves under Newtonian gravity by exploring the three-body problem.
Chapter 4
Evolutionary Trees and More Object-Oriented Programming
We'll deepen our understanding of object-oriented programming by implementing UPGMA, one of the most famous algorithms for constructing evolutionary trees.
Chapter 5
Watch Our Intro Video
Hear From Our Learners
P4❤️ creatively combines the foundations of coding with a scientific twist! It paved the way for my future as a computational biologist.
SarahMaster's Student
Having access to well-written material and hands-on coding videos within the same resource is fantastic, and now everyone with access to the internet has this privilege. “Go” ahead and use it!
BengisuMolecular Biologist
P4❤️ helped me make the leap from spaghetti code to a systematic problem-solving approach for programming.
BenUndergraduate Student
P4❤️ incrementally builds your knowledge, with each chapter using engaging questions that push your abilities, teaching you to solve complex problems systematically.
EthanMaster's Student
With excellent videos and fascinating scientific applications, P4❤️ is impossible not to love.
ChantalHigh School Student