Skip to content

Instantly share code, notes, and snippets.

View dsirotkin256's full-sized avatar

Dmitry dsirotkin256

  • Hong Kong
View GitHub Profile
@dsirotkin256
dsirotkin256 / test.py
Created February 3, 2017 11:07
3 digit palindrome. Output: 997 * 997 = 994009
def main():
memo = 0
x = 0
y = 0
for i in range(1, 999):
for j in reversed(range(1,999)):
temp = i * j
s = str(temp)
if (s[0] == s[-1] and temp > memo):
memo = temp
{
"Guid" : "E9BE065F-0ED9-40A0-ACF6-11D8A620174A",
"Tags" : [
],
"Ansi 12 Color" : {
"Green Component" : 0.5764705882352941,
"Red Component" : 0.7411764705882353,
"Blue Component" : 0.9764705882352941
},