Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

LittleChildPaclet

Guides

  • Assumptions and Domains
  • Linguistic Data
  • Number Digits
  • Prime Numbers
  • Start Here Wolfram Challenge Functions
  • String Patterns
  • Wolfram Challenges Algorithms
  • Wolfram Challenges Computational Knowledge
  • Wolfram Challenges Geography
  • Wolfram Challenges Mathematics
  • Wolfram Challenges Words and Linguistics
  • Working with Sequences

Symbols

  • AliquotSequence
  • AlmostPalindrome
  • Anagrams
  • AntipodalCity
  • AntipodeAboveSeaLevelQ
  • BabbageSquares
  • BalancedParentheses
  • BalancedTernary
  • ButterflyString
  • CaesarDecrypt
  • CatalanUnrank
  • Coins
  • CompleteDictionary
  • DigitalRoot
  • FizzBuzz
  • IntegerPalindromeQ
  • MaxRomanLength
  • MaxRomanNumeralValue
  • NonNegativeIntegerQ
  • NumberTriangle
  • OddBeforeEven
  • PairsAddToHundred
  • PositiveIntegerQ
  • RepeatandEndingPrimes
  • SameStartEndWords
  • SayHello
  • SquareSum
  • StringPatternQ
  • ThreeFive
  • ToMorseCode
  • TwoAndThreePointers
  • WordListLookup
PeterBurbery`LittleChildPaclet`
OddBeforeEven
​
OddBeforeEven
[l]
puts all odd integers in
l
before even integers in
l
without changing the order
​
Details and Options

Examples  
(2)
Basic Examples  
(1)
The function OddBeforeEven takes a list of integers and outputs a list such that all odd integers from the given list appear before even integers, without rearranging the numbers in any other way.
In[1]:=
OddBeforeEven
[{-1,2,8,-9,-2,-3,-6,-10,-8,5,7,9,7}]
Out[1]=
{-1,-9,-3,5,7,9,7,2,8,-2,-6,-10,-8}
Scope  
(1)

SeeAlso
"XXXX"
RelatedGuides
▪
Start Here Wolfram Challenge Functions
RelatedLinks
▪
Wolfram Challenges Odds before Evens »
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com