示例#1
0
def main():
    e = Example()

    e.add('a')
    e.add('b')
    e.add('c')

    print([s for s in e.strings()])
示例#2
0
#!/usr/bin/env python

from sys import stdout
from iterators import Example

e = Example()

e.add("a")
e.add("b")
e.add("c")

print([s for s in e.strings()])
#!/usr/bin/env python

from sys import stdout
from iterators import Example

e = Example()

e.add("a")
e.add("b")
e.add("c")

print ([ s for s in e.strings() ])

示例#4
0
#!/usr/bin/env python3

from sys import stdout
from iterators import Example

e = Example()

for letter in ("a", "b", "c"):
    e.add(letter)

print([s for s in e.strings()])
示例#5
0
from iterators import Example

e = Example()

e.add('a')
e.add('b')
e.add('c')

print([s for s in e.strings()])