Get link Facebook X Pinterest Email Other Apps April 11, 2022 LARGEST NUMBER IN A LISTlist = [22, 44, 56, 77, 89, 43, 740]list.sort()print("the smallest number in a list is:", list[0]) 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
March 31, 2022 CLASS class car: def __init__ ( self , name , speed , mileage , ): self .name = name self .speed = speed self .mileage = mileage NOW from car import car car = car( "kia" , "66" , "10" ) print (car.mileage) OUTPUT: 10 Read more
Comments
Post a Comment