s=(‘CodingBlocks’)
print( type(s))
why its type is string
Type of the data sturcture
type of this should be tuple?
To make it’s type a tuple you would need to add a comma after ‘coding blocks’
S=(‘Coding blocks’ ,)
Now it’s type will be tuple
s=(‘CodingBlocks’)
print( type(s))
why its type is string
type of this should be tuple?
To make it’s type a tuple you would need to add a comma after ‘coding blocks’
S=(‘Coding blocks’ ,)
Now it’s type will be tuple