What will the last comparison print? What happens if we change the strings to contain numbers? Go!
Channel:
Subscribers:
2,520,000
Published on ● Video Link: https://www.youtube.com/watch?v=8kkqcevLYis
Python developers: Test your knowledge with this string based puzzle! In Python, comparing string identity with the 'is' operator can yield unexpected results. Can you predict what this code will output and explain the pattern behind these results? Try running it with different strings and share your insights in the comments.
Subscribe to Google for Developers → https://goo.gle/developers
Speakers: Crystal Endless