Answer:
use your keyboard
Explanation:
listen your 2 years old i know you can type daughter
This for loop will output:
0
2
4
The range(3) is all the integers between 0 inclusive and 3 exclusive. 0, 1, 2.
Every iterations through the for loop, we multiply the value of each number by 2 and print it to the console.
0 * 2 = 0
1 * 2 = 2
2 * 2 = 4
I hope this helps.
Answer:
not online stream i got it wrong
Explanation:
Answer:
24
Explanation:
factorial operation 4! = 4×3×2×1 = 24
Answer:
import math
math.sqrt( x )
Explanation:
The basic code that can be written to calculate the square root of a number is as follows
import math
math.sqrt( x )