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.
Odd numbers
Report a typo
Sample Input 1:
87113420Sample Output 1:
[7, 1, 1, 3]Write a program in Python 3
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.