The above will return a ValueError error and the reason is as follows.
The first line of the program initializes variable as 'live'.
The next line tries to convert answer to integer and this is where it returns the error'.
On the second line, variable amount expects that the answer variable to contain number e.g. '567' but because it doesn't contain a complete number (i.e. unexpected values), the program returns a ValueError.
The above will return a ValueError error and the reason is as follows.
The first line of the program initializes variable as 'live'.
The next line tries to convert answer to integer and this is where it returns the error'.
On the second line, variable amount expects that the answer variable to contain number e.g. '567' but because it doesn't contain a complete number (i.e. unexpected values), the program returns a ValueError.
I would try going to pcpartpicker.com and build your pc from there, and after you’ve done that take your remaining budget to find whatever else you need for your setup