Get link Facebook X Pinterest Email Other Apps April 11, 2022 EVEN NUMBER IN THE LIST# Python program to print Even Numbers in a List# list of numberslist1 = [10, 21, 4, 45, 66, 93]# iterating each number in listfor num in list1: # checking condition if num % 2 == 0: print(num, end=" " Get link Facebook X Pinterest Email Other Apps Comments
March 29, 2022 WHILE LOOP➰ i = 1 while i <= 10 : print (i) i += 1 print ( "done with loop" ) Read more
Comments
Post a Comment