#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2019/1/15 0015 上午 10:59
# @Author  : Aries
# @Site    : 
# @File    : 生成器表达式1.py
# @Software: PyCharm Community Edition


g = (i for i in range(10))
print(list(g))

