Jump to content

Small Correction To English In The Python Tuples Page


mfogar01

Recommended Posts

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

"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 by dsonesuk
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...