Skip to content

Commit 4fd777e

Browse files
author
cclauss
authored
Update SimpsonRule.py
1 parent 3615322 commit 4fd777e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Maths/SimpsonRule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def main():
4343
steps = 10.0 #define number of steps or resolution
4444
boundary = [a, b] #define boundary of integration
4545
y = method_2(boundary, steps)
46-
print 'y = {0}'.format(y)
46+
print('y = {0}'.format(y))
4747

4848
if __name__ == '__main__':
4949
main()

0 commit comments

Comments
 (0)