0
CCrypticSai-08
0 Comments
# number of people N = 30 # formula no_of_handshakes = int(N * ((N - 1) / 2)) # print number of handshakes print('Maximum number of handshakes possible for', N, 'pople are', no_of_handshakes)