Python is --------- typed language.
What is the output of print(4E9)_____________.
Find the output of the following code:
x=[1,2,3]
y=[3,4,5]
z=x+y
print(z)
Find the output of the following code:
l=[[1,3,5,14,5]]
l.append(9)
print(len(l))
What is the output of the following Python code?
s = "Hello1"
type(s)
Find the output of the following code:
>>> lst=[1,2,3,4,5,6]
>>> any([i ==1 for i in lst])
>>> import statistics
>>> data = [2.75, 1.75, 1.25, 0.25, 0.5, 1.25, 3.5]
>>> statistics.mean(data)
j=1
while(j<=5):
print(j)
j++
from math import *
try:
x=sqrt(-9)
print(x)
except TypeError:
print("TypeError")
except :
print("Error")
What will be the output of the following Python code?