Please take a few seconds to provide us your contact Information
In your exampe i is an item in list, not an index:
i
cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10] for i, val in enumerate(cards): if val == 11: cards[i] = 1 print(cards)
* Be the first to Make Comment
SBAPRIME 3pcs-Set Men's Gift Set Men and Boys Watch, Cap & Sunglasses Combo Set Birthday Present
SHOWTIME Gift for Husband Special Romantic Gift for Wife
Suson Men Synthetic Lace Up Formal/Office/Casual/Derby Shoes
ZISAAN Latest Striped Sleeve[Less Summer Gift TOP for Women & Girls (Blue, Small)
Underwear Comfortable fit Throughout Pregnancy
Croma 1 Ton 3 Star Split Fixed Speed AC (Copper, Blue Fins, PM 2.5 Filter with activated carbon, R-32 Green Refrigerant, 2022 Model, 5 Years Compressor Warranty, CRAC7721, White)
Livpure Smart Solid Window Polyester 5 feet Curtains with tieback( Beige ) Set of 2
Sillyboom Maternity Boy Peeking T-Shirt for Pregnant Women
Van Heusen Antibacterial Non Padded Non Wired Slim Fit Cotton Bra
Van Heusen Women's Cotton Printed Anti-Bacterial Bikini (Pack of 3)