Skip to content

Instantly share code, notes, and snippets.

@ramlaxman
Last active November 22, 2018 05:01
Show Gist options
  • Save ramlaxman/9b26ae5d1c065236766cd63a659f9f43 to your computer and use it in GitHub Desktop.
Save ramlaxman/9b26ae5d1c065236766cd63a659f9f43 to your computer and use it in GitHub Desktop.
Python-tips.md

Introduction

  • Lists, strings, and tuples are ordered collections that are very similar in general structure but have specific differences that must be understood for them to be used properly.

  • Sets and dictionaries are unordered collections.

  • To make sets and dict ordered, we need to use: Frozensets and Ordered Dictionary.

  • The possible state values for a boolean object are True and False with standard boolean operators,and, or, and not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment