Odd numbers

Report a typo

Read a string with digits from the input and convert each number to an integer. Create a list in which you should include only odd digits. Finally, print what you'll get.

Sample Input 1:

87113420

Sample Output 1:

[7, 1, 1, 3]
Write a program in Python 3





___

Create a free account to access the full topic