4 Respostas
+ 4
Priya Mahto ,
if you can not solve tasks at the moment, you may go back some steps, read the tutorial again and also do some practicing. your profile is showing that you have started the python tutorials like 2 months ago. so this seems to be a long time if you have not practiced coding frequently in the meantime.
take some time to refresh your knowledge. it would be helpful if you continue and finish the "python for beginners" tutorial first, before proceeding with "python data structures".
happy coding and good success!
+ 2
🅰🅹 🅐🅝🅐🅝🅣 I have learnt, but problems I can't able to solve or not getting any idea how to..
+ 1
Priya Mahto
Learn lesson and get your solution.
0
You are working on a mapping software. The map is stored as a list of points, where each item is represented as a tuple, containing the X and Y coordinates of the point.
You need to calculate and output the distance to the closest point from the point (0, 0).
To calculate the distance of the point (x, y) from (0, 0), use the following formula: √x²+y²