Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-gsm-tester
/
57497a6be94065f7dc12752ce160ded77b2c7d6d
/
.
/
selftest
/
misc.py
blob: e57a48c6132152a147b3bda479e20c3eaecd847d [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
msisdn
=
'0000'
l
=
len
(
msisdn
)
next_msisdn
=
(
'%%0%dd'
%
l
)
%
(
int
(
msisdn
)
+
1
)
print
(
next_msisdn
)