mfogar01 Posted December 30, 2019 Share Posted December 30, 2019 A small correction to the English in the https://www.w3schools.com/python/python_tuples.asp page. The sentence "To create a tuple with only one item, you have add a comma after the item, unless Python will not recognize the variable as a tuple." should read "To create a tuple with only one item, you have add a comma after the item, otherwise Python will not recognize the variable as a tuple." Link to comment Share on other sites More sharing options...
dsonesuk Posted December 30, 2019 Share Posted December 30, 2019 (edited) "To create a tuple with only one item, you have to add a comma after the item, otherwise Python will not recognize the variable as a tuple." OR "To create a tuple with only one item, you add a comma after the item, otherwise Python will not recognize the variable as a tuple." Edited December 30, 2019 by dsonesuk Link to comment Share on other sites More sharing options...
mfogar01 Posted December 30, 2019 Author Share Posted December 30, 2019 Thanks, I missed the other typo. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now