Python Task
Hello Dear! Here is a little task for us in python.
1] Write a program to find the sum of the data structure below
[[1,2,3],[4,5,6,7],[8,9]]
2] Write a program to convert the tuple to a dictionary where name is the key and age is the value. Example: x = ('John', 23, 'm'), ('Peter', 43, 'm') then the output will be y = {'John': 23, 'Peter': 43}.
Answer
Kindly write your codes in the comment section.
To Win
After commenting your answer in the comment, then do the following:
1] Subscribe to this blog (hamplustech.blogspot.com)
2] Share the blog to at least three social media platform
3] Like the post.
4] For future win, after winning kindly come back and comment your experience. Then active on the blog.
@HamplusHub
@HamplusTech
#HamplusTech
1] Write a program to find the sum of the data structure below
[[1,2,3],[4,5,6,7],[8,9]]
2] Write a program to convert the tuple to a dictionary where name is the key and age is the value. Example: x = ('John', 23, 'm'), ('Peter', 43, 'm') then the output will be y = {'John': 23, 'Peter': 43}.
Answer
Kindly write your codes in the comment section.
To Win
After commenting your answer in the comment, then do the following:
1] Subscribe to this blog (hamplustech.blogspot.com)
2] Share the blog to at least three social media platform
3] Like the post.
4] For future win, after winning kindly come back and comment your experience. Then active on the blog.
@HamplusHub
@HamplusTech
#HamplusTech

Comments
Post a Comment