How can I go about finding the line:
print("hello world)"
In a directory x/y/z where the file/files could be in any branch of x's tree (where directory x has many children folders
You can use recursive grep from parent directory of x:
grep -FR 'print("hello world)"' x/*