The ChekaiBeingLazy algorithm

print("Greedy test Nr.1")Greedycourse = 0requiredderps = 6
print('''Derp1 (3, 3),Derp2 (3, 4),Derp3 (4, 4)''')
choose = 0choose2 = 0needmore = 1
if choose == 1:Greedycourse + 4requiredderps - 3elif choose == 2:Greedycourse + 4requiredderps - 3
elif choose == 3:Greedycourse + 4requiredderps -4if choose2 == 1:Greedycourse + 3requiredderps - 3elif choose2 == 2:Greedycourse + 4requiredderps - 3elif choose2 == 3:Greedycourse + 4requiredderps -4if requiredderps == 0:print(choose, choose2)needmore = 0print("done")if requiredderps > 0:
needmore = 1if needmore == 1:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store