NPTEL! Python For Data Science Week 1 Answer 2024
Please Refer here to See the Detailed Explanation YOUTUBE EXPLANATION VIDEO
Week 1 : Assignment 1
Due date: 2024-02-07, 23:59 IST.
Your last recorded submission was on 2024-01-13, 07:51 IST
<code>
print("=============== Answer 1 ===============")
a = 3
b = "12"
print(type(a*12))
print(a*12)
print("=============== Answer 2 ===============")
a = -9//7
print(a)
print("=============== Answer 3 ===============")
x = 15
y = str(float(x))
print(type(y))
print("=============== Answer 4 ===============")
variable_ = 1
# variable# = 3
# 1_variable = 1
variable_1 = 2
print("=============== Answer 5 ===============")
# variable@ = 3
print("=============== Answer 6 ===============")
x = "Mayur"
# float(x)
print("=============== Answer 8 ===============")
x = 10
y = 5
z = 3
ans = x + y % z
print(ans)
print("=============== Answer 9 ===============")
j = 6
g = 3.3
print(type(j//g))
print(type(j/g))
print("=============== Answer 10 ===============")
a = 5
b = 3
print(a & b)
</code>
Comments
Post a Comment