sdsdfsdf
sdsdfsdf
ในการตรวจสอบว่าส่วนของเส้นตรงสองเส้นตัดกันหรือ ไม่นั้น มันไม่ง่ายอย่างที่คิด จริง ๆ แล้วมันควรจะง่ายขึ้นถ้าส่วนของเส้นตรงนั้น กลายมาเป็นเส้นตรง
Actually, to check whether two line segments are crossing is more difficult than you think. In fact, it ought to be easier if the line segments become lines.
ลองเข้าใช้งาน IDLE ซึ่งคุณควรจะได้เห็นอะไรคล้าย ๆ ตัวอย่างข้างล่าง
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface.