intro to python Flashcards
uses of python
web development ( server-side )
software development
mathematics
system scripting
what is IDE
Integrated Development Environment
use of IDE
allows common activities of writing software such as editing source code, building executable and debugging to be completed in a single application
examples of IDE
onlinegdb
common errors in programming
syntax error
runtime error
logic error
syntax error
refers to structure of the program and the rules of that structure
runtime error
shows when ‘ run ‘
called exceptions because it indicates that something exceptional and bad happened
logic error
run successfully but it will not do the right things
do exactly what you told it to do
indentation uses to
indicate a block of code
comments and docstrings
purpose of in-code documentation
what is variable
as containers for storing data values
rules for naming variables
- must begin with a letter or underscore
- can only contain alpha-numeric characters and underscores
- cannot use keywords