Share
Insert element at index
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Insert “Sanitizer” at the 4th position in the kit.
kit=[“gloves”, “masks”, “disinfectant”, “spray-cleaner”, “vaccine”]
Answer ( 1 )
Use this LOC:
kit.insert(3, “Sanitizer”)