More on Lists

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 14

  • @avenumadhav3568
    @avenumadhav3568 3 года назад +14

    operations on lists: 1:13 (concatenation) 2:47 3:10(multiplication) 3:47 4:02(==) 5:20 (

    • @usnaveen
      @usnaveen 3 года назад +2

      thanks, really appreciated.

    • @avenumadhav3568
      @avenumadhav3568 3 года назад +1

      @@usnaveen welcome :)

  • @kmishy
    @kmishy 3 года назад +11

    21:05
    l=[1,4,3,5,8,12]
    l.sort()
    l.reverse()
    print(l)

    • @sayanghosh6996
      @sayanghosh6996 3 года назад +3

      too redundant and inefficient. Just do
      l.sort(reverse=True)

    • @badchessplyr
      @badchessplyr Год назад +8

      your code is fine and It is not too inefficient and redundant.

    • @NeetSheth
      @NeetSheth Год назад +6

      Yes. A perfectly fine code for sorting in descending order.
      Just ignore that first guy. He is the type of person whose only goal in life is to prove others inferior.

  • @nighteagle5529
    @nighteagle5529 Год назад +3

    MAJA AYA😊

  • @SS-zm7co
    @SS-zm7co 8 месяцев назад +1

    Drawing with a Pencil (mutable): Imagine you draw a house with a pencil on a piece of paper at "Spot X450." If you decide you'd rather have a tree, you can erase the house and draw the tree on the same paper at "Spot X450." The paper stays in place; you just change what's on it.
    Drawing with a Marker (immutable): Now, if you draw a cat with a permanent marker on a piece of paper at "Spot X232" and later want to have a dog instead, you can't just erase the cat. You need to get a new piece of paper (say, at "Spot X237") to draw the dog. The original cat drawing remains unchanged on its paper.

  • @umarulf
    @umarulf 5 дней назад

    great cool understood

  • @meriid7017
    @meriid7017 Месяц назад

    Dhnaywaad

  • @storiesshubham4145
    @storiesshubham4145 2 года назад +10

    Toooo much covered in just a 21 min video

  • @054_nirajkumar3
    @054_nirajkumar3 3 года назад +8

    थैंक्यू