Hi Floyd, it sounds like your Yahoo account isn’t letting Microsoft send the verification code. Are you able to access that Yahoo account and check if it has two-step verification enabled?
Microsoft requires a Microsoft account to sign in and set up Windows, so the easiest way is to either create a new Outlook account or switch your device to an existing Microsoft account. If you can’t get past the sign-in screen, use the Microsoft account recovery page at account.microsoft.com to verify your account and regain access before switching.