How did Philosophy develop in Greece?

the citizens of greek city states such as Athens had strong patriotic feelings and valued there freedom