RE: Converting an IP to Decimal (Python 3.3) 05-13-2014, 01:52 AM
#4
(05-13-2014, 01:46 AM).Shebang Wrote: What does the ,0 do at the end of the first line?
Variables. We can split them with commas.
user1,user2 = 'duubz','.shebang'
You could think of it like a dictionary.
{user1: 'duubz', user2: '.shebang'}
It's basically the same as assigning the variables separately.
user1 = 'duubz
user2 = '.shebang'
Basically just saves space.
![[Image: BXqGARG.png]](https://i.imgur.com/BXqGARG.png)








![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)