Below are the hints that you have written
Hint-1 : One of the numbers is correct and is placed in its correct position
5 4 7
Hint-2: Nothing is correct
5 3 0
Hint-3: Two numbers are correct but not placed at its correct position.
2 5 9
Hint-4: One number is correct but not placed at its correct position.
7 0 6
Hint-5: One number is correct but not placed at its correct position.
6 4 9
What's is the code.