Odd numbers on the segment
📁 Advanced Python Topics, example, work
Two integers are given,
aandb.
upd: Using theifinstruction is prohibited!Input:
Two integers are given:aandb(a≤b), one per lineOutput:
Print all odd numbers in the given segment, separated by a space
Input data:
1 10 pre> Output data:
1 3 5 7