/CS50_AI_Degrees

Search program that determines how many “degrees of separation” apart two actors are.

Primary LanguagePython

CS50_AI_Degrees

Degrees of separation

Search program that determines how many “degrees of separation” apart two actors are.

According to the Six Degrees of Kevin Bacon game, anyone in the Hollywood film industry can be connected to Kevin Bacon within six steps, where each step consists of finding a film that two actors both starred in.

This program finds the shortest path between any two actors by choosing a sequence of movies that connects them.

#How to run it

  • Open the project
  • Go to the terminal
  • Run python degrees.py small