ulvis.paste.net

Paste Search Dynamic
Recent pastes
polygons
  1. polygons = "1,2,3,4"
  2. weights = ".5,.6,900,.1"
  3.  
  4. polylist = polygons.split(",")
  5. weightlist = weights.split(",")
  6.  
  7. for j in weightlist:
  8.         for i in polylist:
  9.                 print("Polygon {} set to value {}".format(i,j))
Parsed in 0.003 seconds