This question was asked in Interval Notation

Example of a closed interval

Abhijit Lahkar's image