num="1,2,3,4,5,6,7,8,9"
#1print only numbers not comma
print(num[0:17:2])
#2print all even numbers
print(num[2:17:4])
#3Fetch"1"and"5"from string and perform numerical addition
a=num[0:1]
b=num[8:9]
print(int(a)+int(b))
#4Fetch "2"and "8"from string and perform numerical multiplication
c=num[2:3]
d=num[14:15]
print(int(c)*int(d))
