Commit cbd23139 authored by Navayos Pratumthong's avatar Navayos Pratumthong

Update assigment.py

parent 5dccd179
...@@ -15,3 +15,14 @@ print(value(v)) ...@@ -15,3 +15,14 @@ print(value(v))
v = [1, 0,1,0,1 0,1,1] v = [1, 0,1,0,1 0,1,1]
print(v) print(v)
print(value(v)) print(value(v))
#คะแนนพิเศษ
def values(v, p=4, n=3):
"""หมายเหตุ v จะเป็น string v='000010101'
"""
return 0
print( values)
assignment.value( [1, 0,0,1,1,1, 0,0,1,0], pos=5, neg=4)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment