Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
>= Number regex generator
# >= Number number = input() l = len(number)-1 result = "(?:^|Amount: )(?:" for i in range(l): result += number[:i] + "[{}-9]".format(int(number[i])+1) + "\d{" + str(l-i) + "}|" result += number[:l] + "[{}-9]|".format(number[l]) + "\d{" + str(l + 2) + ",})(?:[.,]|$)" print(result)
run
|
edit
|
history
|
help
0
shuru4
Generating subsets
Hello world
Ej2_python_204676887
https://rextester.com/REAL13110
π―π―π―π―π―π―π―π½Guess the number π½π―π―π―π―π―π―π―
Distance between latititude and longitude
Lesson 7
ivan2
inverse matrix gauss jordan