Department of Physics

University of Qom


  • Home
  • Publications
  • Students
  • Courses
  • Others

Computer Programming

References:

Useful Links:

  • pythontutorial.net
  • python-course.eu
  • pythonbasics.org
  • pythonnumericalmethods.berkeley.edu
  • www.geeksforgeeks.org

Topics:

  • Fundamentals
    • Syntax
    • Variables
    • Strings
    • Numbers
    • Booleans
    • Constants
    • Comments
    • Type conversion
  • Operators
    • Comparison operators
    • Logical operators
  • Control flow
    • if else statement
    • Ternary operator
    • for loop with range()
    • while
    • break
    • continue
    • pass
  • Functions
    • Python functions
    • Default parameters
    • Keyword arguments
    • Recursive functions
    • Lambda Expressions
    • Docstrings
  • Lists
    • List
    • Tuple
    • Sort a list in place
    • Sort a List
    • Slice a List
    • Unpack a list
    • Iterate over a List
    • Find the index of an element
    • Iterables
    • Transform list elements with map()
    • Filter list elements with filter()
    • Reduce list elements into a value with reduce()
    • List comprehensions
  • Dictionaries
  • Sets
  • Exception handling
  • More on Python Loops
  • More on Python functions
  • Modules and Packages
  • Working with files
  • Working Directories