Avatar ·

Odd numbers on the segment

📁 Advanced Python Topics, example, work

Two integers are given, a and b .
upd: Using the if instruction is prohibited!

Input:
Two integers are given: a and b ( a ≤ b ), one per line

Output:
Print all odd numbers in the given segment, separated by a space

Input data:

   1    10   

Output data:

   1   3   5   7