Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions C prog_finding quotient and remainder
Original file line number Diff line number Diff line change
@@ -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