TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Amit Kumar Singh
403
4k
202.4k
function with parameter set and list tuple value
Apr 20 2020 6:56 AM
Hi friends,
write a function and as set and list tuple as parameter to check list tuple key in set and print list tuple value in list
Example :
# set
colors = {'black','pink','yellow'}
# list tuple
list1 = [('green',100),('yellow',13),('red',6)]
Expected output : [13] bcoz yellow color is present in set
Thanks in advance
Reply
Answers (
2
)
How to convert python script to .exe file
Realtime word voice sentimental recognation using python