Aug-21-2020, 11:02 PM
Is this the right code for a 3 digit pin ?
for pin in range(1000): if test(f'{pin:03d}'): print(f'{pin:03d}')
Is this right code for 3 digit pin ?
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
[solved] a 4-digit display | vr34 | 2 | 1,309 |
Apr-12-2024, 05:38 PM Last Post: vr34 |
|
[SOLVED] Pad strings to always get three-digit number? | Winfried | 2 | 1,270 |
Jan-27-2024, 05:23 PM Last Post: Winfried |
|
prefix ID Number with 0,00 make 3 digit. | mg24 | 1 | 1,298 |
Oct-06-2022, 07:20 AM Last Post: ibreeden |
|
if a string has a digit - print | tester_V | 2 | 2,820 |
Jan-16-2021, 04:48 AM Last Post: tester_V |
|
[split] I need help making a four digit code cracker with random | tycpytyt | 1 | 3,122 |
Mar-24-2019, 05:53 PM Last Post: micseydel |
|
Writing a code with 3 digit numbers while they cant contain 0 and then sum them | AFKManager | 2 | 3,079 |
Jan-13-2019, 12:00 PM Last Post: perfringo |
|
syntax for endswith a digit | birdieman | 2 | 6,748 |
Mar-04-2017, 07:21 PM Last Post: birdieman |