I would like to link 5 point (A,B,C,D,E) with line.
It is easy to make it with For Loop but there will be repeat linkage (A-B = B-A).
Any one have idea to prevent it happen?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
itertools.combinations:prints