Code4industry

Code4industry

  • Home
  • Blog
  • About
  • Efficient List Manipulation in Python: When to Use ‘append’ and ‘extend’

    Efficient List Manipulation in Python: When to Use ‘append’ and ‘extend’

    Jun 30, 2024

    —

    by

    Fernando Vargas
    in Blog

    Let’s say I created a function in Python to deal a group of cards. The Ace is represented by 11, Jack, Queen, and King by 10 and the rest of the deck shows its face value. This function will randomly take an element from the list named cards and return a list with a number.…

←Previous Page
Code4industry

Code4industry

About

  • Team
  • History
  • Careers

Privacy

  • Privacy Policy
  • Terms and Conditions
  • Contact Us

Social

  • LinkedIn
  • X

Designed with WordPress