DEV Community

ProTec Games
ProTec Games

Posted on

2

Program problem

I have tried to make such a calculator which will work using Distance Formula but I don't know to make square root. Please help me project linkand mail me how to make it work with syntax it will be a great help.

Top comments (3)

Collapse
 
iceorfiresite profile image
Ice or Fire

import math
math.sqrt(49)

Collapse
 
protecstudio profile image
ProTec Games

Yes I tried this as well as squrt but it shows error

Collapse
 
tirthdt profile image
Tirth Trivedi

You can try

NEW**(1/2)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay