Skip to content

michaeldoron59/python-do-while

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

python-do-while

A do while implementation for python

Usage:

In [1]: from do_while import DoWhile
In [2]: with DoWhile(lambda : x!=1) as dw:
   ...:     while dw():
   ...:         x = 1
In [3]: x
Out[3]: 1

About

A do while implementation for python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages