If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Nozzle theory

By Jason Chen.
Python code available on GitHub: https://gist.github.com/OrionJam/2e62d76894163cd1fe240a8fd58c9600
Enjoy! It's a very simple code and didn't take long to write, but it gets the job done.

Want to join the conversation?

Video transcript