Login Register


Converting an IP to Decimal (Python 3.3) filter_list
Author
Message
RE: Converting an IP to Decimal (Python 3.3) #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]

Reply





Messages In This Thread
RE: Converting an IP to Decimal (Python 3.3) - by Equinox - 05-13-2014, 01:52 AM



Users browsing this thread: