use of 3d 3d python

Solutions on MaxInterview for use of 3d 3d python by the best coders in the world

showing results for - "use of 3d 3d python"
Matteo
12 Oct 2016
1def equal(a, b):
2    if(a == b):
3      return str(a) + " is equal to " + str(b) +"!"
4    else:
5      return str(a) + " is not equal to "+ str(b) +"."
6print(equal(1, 1)) 
7#Expected output: 1 is equal to 1!
8print(equal(1, 2))
9#Expected outpt: 1 is not equal to 2.