Created
February 9, 2024 06:29
-
-
Save joao141141/33ce19e502ccedd7e307268dd1c50c07 to your computer and use it in GitHub Desktop.
LIIIIIIIIIIITS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your code below: | |
first_names = ['Ainsley', 'Ben', 'Chani', 'Depak'] | |
preferred_size = ['Small', 'Large', 'Medium'] | |
preferred_size.append('Medium') | |
customer_data = [['Ainsley', 'Small', True], ['Ben', 'Large', False], ['Chani', 'Medium', True], ['Depak', 'Medium', False]] | |
customer_data[2][2] = False | |
customer_data[1].remove(False) | |
customer_data_final = customer_data + [['Amit', 'Large', True], ['Karim', 'X-Large', False]] | |
print(customer_data_final) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment