Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- common_birds = ["chicken", "blue jay", "crow", "pigeon"]
- birds_seen = ["sparrow", "green finch", "gold finch"]
- print (common_birds.extend(birds_seen))
- # returns None
- common_birds.extend(birds_seen)
- print (common_birds)
- # returns the extended list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement