Python Program
Problem: Create a generator that generates all the odd numbers up to a given maximum range entered
Instruction: Complete the program below
Extracted text: main.py 1- def DisplayOddNum(N): pass 3 4 - for x in DisplayoddNum(20): print(x) Output should be: 1 3 5 7 9 11 13 15 17 19 ...Program finished with exit code 0 Press ENTER to exit console.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here