copilot's coding is all messed up and messy.

Luke 20 Reputation points
2025-04-05T19:59:25.89+00:00

I use it for math and when I ask to do some problems, it gives literal code like sqrt {... and I can't read it easily. this is a big problem. I dunno what's going on. even when I've asked it to fix its code, doesn't work

User's image

Microsoft Copilot | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 50,570 Reputation points MVP Volunteer Moderator
    2025-04-05T22:14:40.77+00:00

    Admittedly, prompt engineering is more of an art than science - including dealing with math problems. The following might help:

    https://support.microsoft.com/en-us/topic/cooking-up-a-great-prompt-getting-the-most-from-copilot-7b614306-d5aa-4b62-8509-e46674a29165

    and

    https://www.microsoft.com/en-us/microsoft-copilot/for-individuals/do-more-with-ai/learning-and-education/how-to-use-ai-for-math-calculations?form=MA13KP


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.