Given the first and last names of all employees in your firm, what data type will you use to store it?
Answer / Prem Prakash Kumar
"In Python, you can use a list of tuples or a dictionary to store pairs of first and last names. Here's an example using a list of tuples:n```nemployees = [("John", "Doe"), ("Jane", "Smith")]n```
| Is This Answer Correct ? | 0 Yes | 0 No |
In Python what is slicing?
Does python has private keyword in python ?
Explain the difference between a list and the tuple?
Tell me the use of // operator in python?
How to run a Python CGI script in Wamp?
Does python 3.7 come with pip?
Is python easy to learn if you know c++?
How many hours does a python sleep?
What is dogpile effect?
What is python? What are the benefits of using python? What do you understand of pep 8?
What program to write python?
Executing dml commands through python programs?