Categories
Where we can use Python 1) In web development using frameworks like Django and flask . ( Django has more features than flask but flask is good for lightweight web applications) 2) In data science and artificial intelligence. (python has wide range of libraries and frameworks for data science and for artificial intelligence) 3)In Hacking and in many other things Lists in python List is data type For complex programs we need to store and arrange large amount of data. For storing large amount of data we use lists, tuples and dictionary. In this data type the values(data) are stored in the ordered sequence unlike dictionary. Example of a list - Animal = ['Tiger', 'Cat', 'Dog'] As you can able to see in above example, the list start and end with square brackets, [ ] We can store strings in a single or double quotes('string' or "string"). To separate the v...
Comments
Post a Comment