Skip to content

Instantly share code, notes, and snippets.

View avisoftware's full-sized avatar

avi margali avisoftware

View GitHub Profile
@avisoftware
avisoftware / RavKavBalance.py
Created November 28, 2018 16:45
RavKav Balance ** For test only **
#!/usr/bin/python
"""
Licence: GPLv2
Dependecies:
pcsc
swig
pyscard
"""
from __future__ import print_function
from smartcard.CardType import AnyCardType
#!/usr/bin/python
import math
i=1
next_row =2
stack = 1
while i < 100000000:
sqroot =math.sqrt(stack)
if sqroot == math.floor (sqroot):
print stack