Guest User

Untitled

a guest
May 21st, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. line1 = line1.lstrip(boneNumber)
  2.  
  3. line1 = line1.split(" ")
  4. print (line1[0])
  5.  
  6. counterValues = 0 #going to go to 5
  7. dLine1 = []
  8. while (counterValues < 6):
  9. dLine1.append(Decimal(line1[counterValues]))
  10. counterValues = counterValues + 1
  11. counterValues = 0
  12. alternater = 0
  13. print (boneNumber + str(dLine1[0]) + " " + str(dLine1[1]) + " " + str(dLine1[2]) + " " + str(dLine1[3]) + " " + str(dLine1[4]) + " " + str(dLine1[5]))
  14.  
  15. boneNumber is " 17 "
  16.  
  17.  
  18. here is outpoot from problem bit:
  19. 6.352535
  20. 17 6.352535 23.644129 -45.434761 -1.029105 -0.303331 -0.246548
  21.  
  22. but that should be 17 16.352535 23.644129 -45.434761 -1.029105 -0.303331 -0.246548, why it remove ze 1?
Add Comment
Please, Sign In to add comment