I am trying to split the tuple data using below code but getting an error "AttributeError: 'tuple' object has no attribute 'split'".
request_number = ('1234567.t0',)
id = request_number.split(".")
print(id)
for i in range (len(id)):
print (id[0])
Note: when I take input as a string it's working fine