Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

multiple assessment in python

#!/usr/bin/env python
# Compute line between two points.
x1, y1 = 2, 3  # point one
x2, y2 = 6, 8  # point two

sum = (x1 * y2) + (x2 * y1)

print(sum)
# output
# 34
Source by www.linuxtopia.org #
 
PREVIOUS NEXT
Tagged: #multiple #assessment #python
ADD COMMENT
Topic
Name
7+7 =