logo rip
RIP Tutorial
  • Tags
  • Topics
  • Examples
  • eBooks

Topics

  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title
  • topic.Title

Examples

  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title

Topics

  • Getting started with Python Language
  • List comprehensions
  • List
  • Functions
  • Loops
  • Random module
  • Generators
  • Incompatibilities moving from Python 2 to Python 3
  • String Formatting
  • Conditionals
  • List Comprehensions

Examples

  • List Comprehensions
  • Generator Expressions
  • Set Comprehensions
  • Conditional List Comprehensions
  • Accessing list values
  • Creating random integers and floats: randint, randrange, random, and uniform
  • Reproducible random numbers: Seed and State
  • Defining a function with optional arguments
  • Defining a function with an arbitrary number of arguments
  • Changing the sequence you are iterating over
  • Avoid repetitive and expensive operations using conditional clause
  • List methods and supported operators
  • Infinite sequences
  • List Comprehensions with Nested Loops
  • Integer Division
  • Differences between range and xrange functions
  • Unpacking Iterables
  • Comparison of different types
  • Basics of String Formatting
  • Alignment and padding
  • Refactoring filter and map to list comprehensions
  • Comprehensions involving tuples
  • Block Indentation
  • Format literals (f-string)
  • Checking whether an item is in a list
  • Checking if list is empty
  • Iterating over dictionaries
  • String formatting with datetime
  • Format using Getitem and Getattr
  • Concatenate and Merge lists
  • Float formatting
  • Leaked variables in list comprehension
  • Remove duplicate values in list
  • Custom formatting for a class
  • Nested formatting
  • Named placeholders

Delgan

StackOverflow Profile

profile for Delgan at Stack Overflow, Q&A for professional and enthusiast programmers



logo rip
SUPPORT & PARTNERS
  • Advertise with us
  • Contact us
  • Cookie Policy
  • Privacy Policy
STAY CONNECTED

Get monthly updates about new articles, cheatsheets, and tricks.


Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our Cookie Policy and Privacy Policy

Leave this website