Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Given the first and last names of all employees in your firm, what data type will you use to store it?



Given the first and last names of all employees in your firm, what data type will you use to store i..

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

Post New Answer

More Python Interview Questions

Where do we use python scripting?

1 Answers  


Explain accessor and mutator methods in python?

1 Answers  


What is none python?

1 Answers  


What are the optional statements that can be used inside a <try-except> block in python?

1 Answers  


Explain how Python is an interpreted language

2 Answers  


What is the best code you can write to swap two numbers?

1 Answers  


How do you sort a list in ascending order in python?

1 Answers  


What is a python module?

1 Answers  


What is use of set in python?

1 Answers  


How to call an external command in python?

1 Answers  


What are the built-in type does python provides?

1 Answers  


How can I read inputs as integers/float?

1 Answers  


Categories