Ayush Raj
97b6ca2b19
[mypy] Add/fix type annotations for boolean_algebra ( #4172 )
...
* [mypy] Add/fix type annotations for boolean_algebra
* [mypy] Add/fix type annotations for boolean_algebra
* [mypy] Add/fix annotations for boolean_algebra
2021-02-05 00:58:29 +08:00
Jenia Dysin
9d745b6156
Add typehints ciphers and bool alg ( #3264 )
...
* updating DIRECTORY.md
* updating DIRECTORY.md
* Fixed accidental commit of file I have't touched
* fixup! Format Python code with psf/black push
* updating DIRECTORY.md
* updating DIRECTORY.md
* Fixed some suggested coding style issues
* Update rsa_key_generator.py
* Update rsa_key_generator.py
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: John Law <johnlaw.po@gmail.com>
2020-10-16 14:11:52 +08:00
Hasenn
10aa214fcb
Docstrings and formatting improvements ( #2418 )
...
* Fix spelling in docstrings
* Improve comments and formatting
* Update print statement to reflect doctest change
* improve phrasing and apply black
* Update rat_in_maze.py
This method is recursive starting from (i, j) and going in one of four directions:
up, down, left, right.
If a path is found to destination it returns True otherwise it returns False.
Co-authored-by: Christian Clauss <cclauss@me.com>
2020-09-14 14:40:27 +02:00
Christian Clauss
ec7bc7c7cd
Tabs --> spaces in quine_mc_cluskey.py ( #1426 )
...
* Tabs --> spaces in quine_mc_cluskey.py
* fixup! Format Python code with psf/black push
2019-11-21 22:21:40 +08:00
Christian Clauss
b838f1042c
Fix indentation contains tabs (flake8 E101,W191) ( #1573 )
2019-11-15 23:05:00 -08:00
William Zhang
9eac17a408
psf/black code formatting ( #1277 )
2019-10-05 10:14:13 +05:00
pathak-deep15
47cb394b5c
added doctests for compare_string and is_for_table ( #1138 )
...
* added doctests for compare_string and is_for_table
>>>compare_string('0010','0110')
'0_10'
>>> is_for_table('__1','011',2)
True
The above doctests were added
* Update quine_mc_cluskey.py
* Update quine_mc_cluskey.py
* Update quine_mc_cluskey.py
2019-08-23 00:55:41 +08:00
Marvin M. Michum
87a789af51
Boolean algebra pytests ( #1097 )
...
* Added Zeller's congruence algorithm
* Update args help
* add a few doctests
* remove old file
2019-08-05 07:05:36 +02:00
Alex Brown
ea2ddaaf6a
all valid python 3
2018-10-20 14:45:08 -05:00
Alex Brown
564179a0ec
increment 1
2018-10-19 07:48:28 -05:00