print("Welcome") FirstNum=int(input("Enter your first number:")) SecondNum=int(input("Enter your second number:")) if (FirstNum > SecondNum): { print("First Number must be less than second number.") } while{ (FirstNum < SecondNum): for i in range(FirstNum, SecondNum, 1): while(i % 2!=0): print (i, "is odd") }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)