loading...

Charming the Python: Builtins and Variables

twitter logo github logo Updated on ・1 min read

30 Days of Python (19 Part Series)

1) Charming the Python: the basic basics 2) Charming the Python: Builtins and Variables 3 ... 17 3) Charming the Python: Boolean & Operators 4) Charming the Python: Strings 5) Charming the Python: Lists 6) Charming the Python: Tuples 7) Charming the Python: Sets 8) Charming the Python: Dictionaries 9) Charming the Python: Data Structures 10) Charming the Python: Conditionals 11) Charming the Python: Loops 12) Charming the Python: Functions 13) Charming the Python: Modules 14) Charming the Python: List Comprehension 15) Charm the Python: Lambdas 16) Charming the Python: Error Types 17) Charming the Python: datetime 18) Charming the Python: Exception Handling 19) Charming the Python: RegEx

If coding tutorials with math examples are the bane of your existence, keep reading. This series uses relatable examples like dogs and cats.


Builtin Functions

print("words")
>>> words
min(10, 20, 30, 40)
>>> 10
max(10, 20, 30, 40)
>>> 40
sum([10, 20, 30, 40])
>>> 100

Variables

  • must start with a letter or underscore
  • cannot start with a number
  • only contain letters, numbers, and underscores
  • case-sensitive

Series based on

twitter logo DISCUSS
Classic DEV Post from Aug 16 '19

Powerlifting has made me a better developer. (Part 1: Interpersonally)

Vicki (she/her) profile image

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️