2 Matching Annotations
  1. Sep 2020
    1. What I have learnt from chapter-10(Lists): List is similar to array. List is a most versatile datatype available in python which can be written as a list of comma-separates values (items) between square brackets. Important thing about a list is that items in a list need not be of the same type. List is a sequence of values like integers , floating numbers , strings, etc called as elements and they are mutable. List methods are append() , extend() , sort() , map() , split() , etc and Operations on lists are ' + '.

    2. What I have learnt from chapter-8(Strings) : Strings are sequence of characters. Strings are immutable. Strings can be accessed by square bracket operator. There are some builtin functions in strings.they are: upper(),lower(),find(),len() etc.. I got to know about applying sequence and comparing string(=,>,<). We can learn indexing and slicing of a string in this chapter.