summaryrefslogtreecommitdiff
path: root/progs/a812.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a812.py')
-rw-r--r--progs/a812.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/a812.py b/progs/a812.py
new file mode 100644
index 0000000..5db5018
--- /dev/null
+++ b/progs/a812.py
@@ -0,0 +1,6 @@
+def check_Triangle(x1,y1,x2,y2,x3,y3):
+ a = (x1*(y2-y3)+x2*(y3-y1)+x3*(y1-y2))
+ if a == 0:
+ return ('No')
+ else:
+ return ('Yes') \ No newline at end of file