#Lessson 4 Code spannerSizes = [3,5,7,9,10,13,15,20,25,30] #spannerSizes are the same pivot distances applicableForces = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20] requiredForce = 25 def checkMoment(): for pivotDistances in spannerSizes: for forces in applicableForces: if forces*pivotDistances == requiredForce: print "Use the spanner",pivotDistances,"with force",forces,"." checkMoment()