LBRY Block Explorer

LBRY Claims • shorts-python-tip-2

82bb57e8f2294f72e73521946d2d2882185b96e0

Published By
Created On
16 Mar 2023 19:09:05 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
#Shorts Python Tip #2
In python, it is a common practice to use math.sqrt() function to find the square root of a number. It resembles the pattern found in other languages (like in Java: Math.sqrt(), or in C, where you include math.h header file and use sqrtl() function).

But as the power-of operator ( ** ) is a standard python feature, you could apply the law of indices and use the same to get the square root or even the cube root of a number. In this video, I demonstrate the same.
...
https://www.youtube.com/watch?v=PkMmF94_Mso
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY

More from the publisher

Controlling
VIDEO
ECHO
Controlling
VIDEO
LINUX
Controlling
VIDEO
ECHO
Controlling
VIDEO
LINUX
Controlling
VIDEO
LINUX
Controlling
VIDEO
#SHOR
Controlling
VIDEO
INSTA
Controlling
VIDEO
LINUX
Controlling
VIDEO
LINUX