26 lines
306 B
Plaintext
26 lines
306 B
Plaintext
|
|
# x = 5
|
|
y = x + 3
|
|
z = y + x
|
|
x=?
|
|
solve()
|
|
# Instanciación via sympify
|
|
ip = IP4(120.11.255.2,30)
|
|
ip.Nodes()
|
|
ip.to_hex()
|
|
ip + 1
|
|
10.1.1.1
|
|
p=Dec(16#FF + 16#FF) / 18
|
|
p
|
|
t= 2#1010 + 16#f
|
|
t.to_base(8)
|
|
|
|
|
|
ip.bit_representation()
|
|
ip=ip+20
|
|
ip.bit_representation()
|
|
ip.mask()
|
|
ip.get_prefix_length()
|
|
|
|
a = b + 5
|
|
solve(x) |