0

Given two num a and b write a program using function to print all odd numbers

Sample a =1 B=10 Then output 1 3 5 7 9 1 Why print 1 at last??? What is wrong in this?? https://code.sololearn.com/c9vN67S0Ejn6/?ref=app

1st Aug 2023, 11:12 AM
Anuj Khare
Anuj Khare - avatar
2 ответов
+ 3
line 22: you try to call odd() incorrectly, hence it returns 1, indicating an issue.
1st Aug 2023, 11:18 AM
Lisa
Lisa - avatar
+ 1
👌 ok
1st Aug 2023, 11:40 AM
Anuj Khare
Anuj Khare - avatar