Skip to content

YunaAnn/LearningPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LearningPython

Basics:

  • Numbers&ArithmeticOperators.py - numbers and operators in Python
  • Output&Input.py - print, input, format and eval functions
  • Boolean-logic.py - boolean logic
  • Loops-if&else.py - if...else loop, if...elif...else loop
  • Loops-for.py - for loop, range and len functions, for...else (with break)
  • Loops-while.py - while loop, while...else
  • Break&continue.py - break and continue statements
  • Datetime.py - datetime module
  • Strings.py - Strings. Indexing, replacing, split, join, searching, concatenating, repeating, slicing strings.
  • Lists.py - Lists. Creating, indexing, slicing, searching lists. Iterating over lists.

Math-tasks:

  1. PythagoreanTheorem.py - Pythagorean theorem - a^2 + b^2 =? c^2
  2. QuadraticEquation.py - Quadratic Equation - ax^2 + bx + c = 0 - find roots
  3. Factorial.py - Factorial - iterative and recursive
  4. FibonacciNumbers.py - Fibonacci numbers - iterative and recursive

Algorithms:

  1. Capital_indexes.py - function returns a list of all the indexes in the string that have capital letters.

Releases

No releases published

Packages

No packages published

Languages