Monday, February 17, 2025

List data structure in python


Further commands in list data structure

cars = {'Honda', 'BMW', 'Toyota', 'Audi'}
for d in cars:
    print (d)
cars.append('Suzuki')
cars.insert(3, 'BYD')




 



No comments:

Post a Comment