diff --git a/C prog_finding quotient and remainder b/C prog_finding quotient and remainder new file mode 100644 index 0000000..18eb44d --- /dev/null +++ b/C prog_finding quotient and remainder @@ -0,0 +1,16 @@ +# Python program to print odd Numbers in a List + +# list of numbers +list1 = [10, 21, 4, 45, 66, 93] +i = 0 + +# using while loop +while(i < len(list1)): + + # checking condition + if list1[i] % 2 != 0: + print(list1[i], end = " ") + + # increment i + i += 1 +