2779/how-to-calculate-square-root-of-a-number-in-python

Use the math module and calculate the square root of any number. Example: calculating square root of 25.

import math print(math.sqrt(25)) Output - 5.0

n = list(range(10)) b = list(filter(lambda i:i%2!=0,n)) print(b) READ MORE

You can use the exponentiation operator or ...READ MORE

Yes you can do it using the ...READ MORE

Here's the logic. You have to add ...READ MORE

You can also use the random library's ...READ MORE

Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE

can you give an example using a ...READ MORE

You can simply the built-in function in ...READ MORE

You can use '\n' for a next ...READ MORE

You can find factorial by many ways. ...READ MORE

OR

At least 1 upper-case and 1 lower-case letter

Minimum 8 characters and Maximum 50 characters

Already have an account? Sign in.