+ 2
Both of your problems arise from the same mistake:
You took the input in distinct, local variables and used them to display the character's stats, but you never update the original variables like 'Magic', etc. to the values that were entered by the user. Thus, Intelligence is set back to 0 because the variable still is 0, and it says you need to create a new character when you have all your points spent because the name is still null.
The solution would be to work with the global variables from the top of your code from the start (no local variables for input), or to update them after the input has been done. Either way should suffice. Here is a working version:
https://code.sololearn.com/WdsD4Wawa3bD/?ref=app



