Skip to content
Permalink
6be82fecb2
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
@ssb17002
Latest commit eb52bbb Jan 25, 2021 History
1 contributor

Users who have contributed to this file

22 lines (19 sloc) 457 Bytes
import numpy as np
def check_p01(w1):
if (w1-26.603176406342666)/26.603176406342666<0.01:
points = 2
print('Nice work!')
return points
else:
points = 0
print('Whoops, try again')
return points
def check_p02(w2):
if (w2-40)/40<0.01:
points = 2
print('Nice work!')
return points
else:
points = 0
print('Whoops, try again')
return points