O_[]¯O Picuino
  • Home/
  • Programming/
  • Python tutorial
  • View page source
Attention: this page comes from an automatic translation of the original Spanish page. If you would like to collaborate, please contact the author with the updated translation file.

Python tutorial¶

Tutorial to learn how to program with the Python language.

Logotipo de Python
  • 1. Introduction to the Python language
  • 2. Numerical data
  • 3. Variables
  • 4. reserved words
  • 5. The comments
  • 6. The print() function
  • 7. The input() function
  • 8. The Boolean type
  • 9. if else statement
  • 10. and, or, not operators
  • 11. Nested if statements
  • 12. elif statement
  • 13. for statement
  • 14. The range() function
  • 15. continue statement
  • 16. break statement
  • 17. Nested for statements
  • 18. while statement
  • 19. Definition of functions
  • 20. Parameters with default values
  • 21. text strings
  • 22. Text string indices
  • 23. String methods
  • 24. Formatting text strings
  • 25. lists
  • 26. list indices
  • 27. list iteration
  • 28. list methods
  • 29. Data search
  • 30. Binary search
  • 31. Data displacement
  • 32. Sort by selection
  • 33. Insertion sort
  • 34. Recursion
  • 35. Merge Sort
  • 36. Codewars katas
  • 37. Python Resources
Next Previous

  • Contact
  • Manifest
  • Terms Of Service
  • Cookie policy
  • Credits
  • Glossary
  • Index

Copyright © 2013-2025, Carlos Félix Pardo Martín.
Contents under CC BY-SA 4.0 license and computer programs under GPL v3 license unless otherwise specified.
Last updated on May, 2025.

O_[]¯O Picuino
Español
  • Technical drawing
  • Mechanics
  • Materials
  • Electricity
  • Electronics
  • Computing
  • Programming
    • Programming languages
    • Flowcharts
    • Actividades desenchufadas
    • Code Tutorials
    • Scratch 3 tutorial
    • Python tutorial
      • 1. Introduction to the Python language
      • 2. Numerical data
      • 3. Variables
      • 4. reserved words
      • 5. The comments
      • 6. The print() function
      • 7. The input() function
      • 8. The Boolean type
      • 9. if else statement
      • 10. and, or, not operators
      • 11. Nested if statements
      • 12. elif statement
      • 13. for statement
      • 14. The range() function
      • 15. continue statement
      • 16. break statement
      • 17. Nested for statements
      • 18. while statement
      • 19. Definition of functions
      • 20. Parameters with default values
      • 21. text strings
      • 22. Text string indices
      • 23. String methods
      • 24. Formatting text strings
      • 25. lists
      • 26. list indices
      • 27. list iteration
      • 28. list methods
      • 29. Data search
      • 30. Binary search
      • 31. Data displacement
      • 32. Sort by selection
      • 33. Insertion sort
      • 34. Recursion
      • 35. Merge Sort
      • 36. Codewars katas
      • 37. Python Resources
    • Programming Resources
  • Arduino
  • Robótica
  • Communications
  • Technology Workshop
  • Another resources
  • Educational Legislation

  • Manifiesto
  • Technology Test
  • Circuits simulator
  • Project in GitHub