Determine the degree of seperation between any 2 actors (in the database) of IMBD.
python degrees.py small
Loading data...
Data loaded.
Name: Tom Hanks
Name: Tom Cruise
9
2 degrees of separation.
1: Tom Hanks and Kevin Bacon starred in Apollo 13
2: Kevin Bacon and Tom Cruise starred in A Few Good Men
python degrees.py large
Loading data... Data loaded. Name: Anil Kapoor Which 'Anil Kapoor'?
ID: 6257053, Name: Anil Kapoor, Birth:
ID: 438463, Name: Anil Kapoor, Birth: 1956
Intended Person ID: 438463
Name: Hrithik Roshan
265
2 degrees of separation.
1: Anil Kapoor and Amitabh Bachchan starred in Armaan
2: Amitabh Bachchan and Hrithik Roshan starred in Lakshya