Sumit Chaudhari:-13 Date: - / / 2025: - Second Year B.Tech (IT) : - Python Lab: - 02
Sumit Chaudhari:-13 Date: - / / 2025: - Second Year B.Tech (IT) : - Python Lab: - 02
print("Substraction is :",56-45)
print("Division is:",56/2)
print("Multipication is:",45*56)
#Output
Sum is 101
Substraction is : 11
#Input List =
[ 3,6,8,9]
print(List)
List.append(12)
print(List)
List.remove(8)
print(List)
#Output
[3,6, 8, 9]
[3,6, 8, 9,12]
[3, 6, 9,12]
print(str1==str3,"this one")
#Output
print(str1[0],str1[2],str1[3],str1[4],str1[5],str1[6],str1[7])
#Output
HlloWo