Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~334 People Reached
Favorite Forums
Favorite Tags
Member Avatar for shaziya

cut_list We have to use a cut_list by writing a function called cutlist that "cuts" a list. Whwew a list and an index is given, and returns a copy of the list, but the items before and after the index is swapped, but what i dont get is it should …

Member Avatar for vegaseat
0
160
Member Avatar for shaziya

Hi I dont want the extra bracket inside the list thats been outputted so how would I fix that? This is the code: def my_code(list1, list2, index): index = ['a','b','c'] list2 = [2] list1 = [1,2,3] list1.insert(2,index) return list1 and it returns: [1, 2, ['a', 'b', 'c'], 3] I dont …

Member Avatar for snippsat
0
174