CSC120

Cards (15)

  • In Python, functions are defined using the def keyword, followed by the function's name and its parameters (if any) enclosed in parentheses.
  • Functions are reusable blocks of code that perform specific tasks, making them easier to read, understand, test, debug, and maintain.
  • Debugging is the process of fixing a bug in the software. It refers to identifying, analyzing and removing errors. This activity begins after the software fails to execute properly and concludes by solving the problem and successfully testing the software.
  • Python was created by Guido van Rossum in 1989.
  • It is ideally designed for prototyping of complex applications.
  • Python can be used in different areas such as Software dev, Data analysis and many more as it is very versatile.
  • Python is robust, highly portable, versatile, efficient and fast.
  • Python Syntax refers to the set of rules that defines how human users and the system should write and interpret a good python program.
  • A python identifier is a name given to a function, class, variable, module or other objects used in python program.
  • Python is a case-sensitive language. That is Labor and labor are two distinct Identifiers in python.
  • In Python, identifiers cannot start with numbers but they may contain digits if they follow an alphabetical character.
  • The underscore (_) is also considered part of the identifier's name.
  • Statements are instructions that a python interpreter can execute.
  • Variables are containers for storing data values that can be accessed or changed.
  • An operator is a symbol, such as +, that performs an operation on one or more values.