Emojicode π Repeat While
Published Aug 4, 2021Updated May 15, 2024
Contribute to Docs
The π statement repeats a code block while as long as the given condition is π (true). And if the condition is never π (false), the code block will be ignored and skipped.
Due to the ease of use of the π (for-in) statement, π is only used seldomly.
Infinite Loop
π ππ π ππ π€It goes on and on and onπ€βοΈππ
This program will infinitely print βIt goes on and on and onβ.
It goes on and on and onIt goes on and on and onIt goes on and on and on...
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn Emojicode on Codecademy
- Looking for an introduction to the theory behind programming? Master Python while learning data structures, algorithms, and more!
- Includes 6 Courses
- With Professional Certification
- Beginner Friendly.75 hours
- π Learn about Emojicode, a programming language that consists of emojis! π
- Beginner Friendly.1 hour