Role of Underscore(_) in Python https://www.datacamp.com/tutorial/role-underscore-python Five uses of "_" 1 Automatically holds the result of the previous interpreted statement > 2+3 5 > _ 5 2. ignores (discards) the result assigned to it a , _ , b = ( 1 , 2 , 3 ) 3. as a variabl when looping for _in range(5): print(_) 4. separate digits n=1_000_000 5. in names _name = "dave" class Test: def __init__(self): self.name = "datacamp" self._num = 7 obj = Test() print(obj.name) print(obj._num) >>>>datacamp >>>>7 /Uses_of_Underscore.txt