Python Forum
Length and direction cosines of lines
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Length and direction cosines of lines
#1
Good day,

First time posting, and new to python
I'm trying to get the user to input the number of lines he wants, then input the coordinates for the line ends for each line

say the user enters the number of lines: 10
then how can I prompt him to input the x y coordinates for each line end for each line (10 times for example)
then store those coordinates to do some operations on it like finding each line length and finding each line direction cosines?


thank you!
Reply


Messages In This Thread
Length and direction cosines of lines - by tarikrr - Nov-14-2019, 09:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Project Direction bclanton50 1 1,943 Jan-06-2022, 11:38 PM
Last Post: lucasbazan
Question How to understand the vector/direction mason321 0 1,702 Dec-14-2021, 10:57 PM
Last Post: mason321
  Iterate 2 large text files across lines and replace lines in second file medatib531 13 9,575 Aug-10-2020, 11:01 PM
Last Post: medatib531
  Pointer in the right direction? Viking 5 3,866 Apr-22-2020, 06:14 PM
Last Post: Viking
  Some direction needed Patriot1017 3 3,342 Sep-03-2019, 05:44 PM
Last Post: jefsummers
  Practicing using a "flag": please point in right direction magsloo 5 4,761 May-10-2019, 04:58 AM
Last Post: perfringo
  How to create a graph for direction visualization Visiting 2 3,717 Sep-22-2018, 10:49 PM
Last Post: Visiting
  Need tutorial/direction to access shared memory ridshack 2 3,811 Feb-22-2018, 11:24 PM
Last Post: ridshack

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020