Quick actions

cmd+k|ctrl+k

Navigation

Languages

List exercise

Snippet info

Language

Python

Visibility

public

Author

edoc26

Created

2026-02-16T01:31:50.886716Z

Updated

2026-02-16T01:31:50.886716Z

friends = ['Simon', 'Patty', 'Joy', 'Carrie', 'Amira', 'Chu']

new_friend = ['Stanley']
friends.sort()

print(friends + new_friend)
INFO