Revolutionary knowledge-based programming language.
The preeminent environment for any technical workflows.
Semantic framework for real-world data.
Central infrastructure for Wolfram's cloud products & services.
Software engine implementing the Wolfram Language.
Instant deployment across cloud, desktop, mobile, and more.
Technology-enabling science of the computational universe.
Knowledge-based, broadly deployed natural language.
Curated computable knowledge powering Wolfram|Alpha.
TakeWhile[list,crit]
gives elements ei from the beginning of list, continuing so long as crit[ei] is True.
Take elements while they are all even:
Use a pure function to take elements while they are all below 10:
LengthWhile NestWhile While Take Select
Documentation Feedback
Oops. An error occurred. Please try again later.If you continue to experience a problem or if you have any questions, please contact us.
Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how