When I do:
print(())
it gives output:()
When I do:
print(('abhay', 'bhatt'))
it gives output:(abhay, bhatt)
But, when I do:
print(('abhay'))
it gives output:abhay
(ie without parentheses)
Can someone explain this behaviour?
Thanks
When I do: print(())
it gives output:
()
When I do:
print(('abhay', 'bhatt'))
it gives output:
(abhay, bhatt)
But, when I do:
print(('abhay'))
it gives output:
abhay
(ie without parentheses)
Can someone explain this behaviour?
Thanks