Skip to content

Quackers71/python-fe

Repository files navigation

python-fe

Python for Everybody - freeCodeCamp.org

Python Notes

  • Lists are mutable
    Strings are "immutable" - you cannot change the contents of a string - you must make a new string to make any change
    List are "mutable" - you can change an element of a list using the index operator

    List - A linear collection of values that stay in order
    Key - Value
    [0] = 21

  • Dictionary - A "bag" of values, each with its own label
    Key - Value
    {"candy": 3}
    The get() method is commonly used in dictionaries to see if a Key exists - see 'count_file.py'

  • Tuples are immutable
    Unlike a List, once you create a Tuple, you cannot alter its contents - similar to a string.
    Used for temporary variables, don't require to be modified, so they are simpler and more efficient in terms of memory use and preformance than Lists

  • Regular Expressions

  • Networked Programs

  • Object Oriented Programming

  • Database - Relationships

  • List all git ignored files in a Repo
    git check-ignore -v **/*

Links

About

Python for Everybody - freeCodeCamp.org

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors