项目作者: GowthamPrasad

项目描述 :
Understanding Comprehensions in Python
高级语言: Jupyter Notebook
项目地址: git://github.com/GowthamPrasad/Comprehensions-in-Python.git
创建时间: 2020-11-03T13:43:37Z
项目社区:https://github.com/GowthamPrasad/Comprehensions-in-Python

开源协议:

下载


Comprehensions-in-Python

Comprehensions in Python provide us with a short and concise way to construct new sequence data types like list, dictionary, set. It is easy to use and understand.

In Python there are four type of comprehension.

  • List Comprehension
  • Dictionary Comprehension
  • Set Comprehension
  • Generator Comprehension