Jul-24-2019, 01:52 AM
Hi Ichabod801,
thank you for your reply and your suggestion. However, I tried the what you suggested and it still doesn't work. Here is my code:
-Tim
thank you for your reply and your suggestion. However, I tried the what you suggested and it still doesn't work. Here is my code:
Count = 0 MaxValue = -99999999 while(Count != 0): p = int(input('Enter a odd number: ')) if (p % 2 == 0): int(input('this is an even number, please enter another number')) elif (p % 2 != 0): count = count +1 p = MaxValue print('this is the largest odd number')What is still wrong with my code? Any help or suggestions will be much appreciated. thanks!
-Tim