CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 16:42:28 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=81e9d7a56b13c8a4e6817ea0ce59149def498e835ebe31ddf04ea7456c433f79a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22foOYdV9dT5WsAu5aqTthCAV-vHEWodPB%22%3B%7D; HttpOnly; Path=/
cf-ray: 98cfcf9588e7a9c3-BLR
# base_counter.py - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # base_counter.py
- def base_counter(count, base=10):
- size = len(count)
- idx = size - 1
- while idx > -1:
- if count[idx] == base:
- if len(set(count)) == 1:
- return [0] * (size + 1)
- count[idx] = 0
- idx -= 1
- else:
- count[idx] += 1
- break
- return count
- # Example usage
- count = [0]
- for _ in range(100):
- print(count)
- count = base_counter(count, 3)
Advertisement
Add Comment
Please, Sign In to add comment
-
✅⭐ Make huge profits on trading ⭐⭐ S
JavaScript | 6 sec ago | 0.24 KB
-
✅⭐ Make $2500 in 15 minutes ✅ NEVER SEEN BEFO...
JavaScript | 7 sec ago | 0.24 KB
-
⭐⭐⭐MAKE $1000 INSTANTLY⭐⭐
Java | 13 sec ago | 0.10 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ 6
JavaScript | 17 sec ago | 0.24 KB
-
⭐⭐⭐ G2A Payment Exploit ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 17 sec ago | 0.24 KB
-
⭐⭐⭐Exploit 500$ in 15 Minutes⭐⭐
Java | 21 sec ago | 0.10 KB
-
⭐⭐⭐Make $15OO in 2O minutesV G⭐⭐
Java | 26 sec ago | 0.10 KB
-
⭐✅ MAKE $2500 IN 15 MIN ✅ NEVER SEEN BEFORE ⭐...
JavaScript | 27 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand