InterviewSolution
Saved Bookmarks
| 1. |
Write a program to input names of n students and store them in a tuple. Also input a name from the user and find if this user is present in the tuple or not |
| Answer» VALUES = input("Input some COMMA seprated numbers : ") LIST = values.split(",") TUPLE = tuple(list) print('List : ',list) print('Tuple : ',tuple) | |