How to reverse a list/array with and without using built in method in Python | python programming

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 10

  • @TycomacCodes
    @TycomacCodes  2 роки тому +3

    Please increase your volume and watch it at 720p for better visualization. Thanks

  • @TycomacCodes
    @TycomacCodes  2 роки тому

    Course python for Patterns, Example Problems, Data Structures and Algorithms crash course (3 in 1 course)
    out now : www.udemy.com/course/python-for-patterns-problems-data-structures-algorithms/?referralCode=186515267189E391E366

  • @ramakrishna4092
    @ramakrishna4092 2 роки тому +1

    @Tycomac Codes
    Hi I am new to your channel you were explanations pretty good I have hadn't seen like this in UA-cam
    Can you pls explain how to take input for List and nested list in different methods it will helpful to my studies ...

    • @TycomacCodes
      @TycomacCodes  2 роки тому +4

      Thank you very much for your kind words, since you said it will be helpful for your studies i will definitely make a video on it, just give me some time, until then follow up other videos. 😊

    • @ramakrishna4092
      @ramakrishna4092 2 роки тому

      @@TycomacCodes
      Thanks for your response

    • @TycomacCodes
      @TycomacCodes  2 роки тому +4

      Your requested video is out now, you can watch it here and the source code is available in the comments, All the best.
      ua-cam.com/video/QkpvoG-jUKk/v-deo.html

  • @liumanyang9741
    @liumanyang9741 2 роки тому

    Hi, i have a question about the method of "without using built-in method". Personal thinking: The append() is a built - in method, isn't it?

    • @TycomacCodes
      @TycomacCodes  2 роки тому +1

      you have a point but how else would you add values to an empty list? I mean I could have initialized a list with [none]*length of original list and reassign the new values to that specific index, it works but it would have been a little complex approach, so I didn't take that approach, hope this helps :)

  • @venkatareddy8173
    @venkatareddy8173 Рік тому

    Len is in built method sir

    • @TycomacCodes
      @TycomacCodes  Рік тому +1

      You can implement your own Len function and use it