Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
java
c
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
vbnet
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
cobol
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
swift-array
typescript-string
c-array
php-array
javascript-array
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
cpp-matrix
c-matrix
cpp-array
c#-list
vbnet-list
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
sdl3
angularjs
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
sort-words-string
exabyte-constant
petabyte-constant
terabyte-constant
math-functions-constants
string-to-title-case
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
Disclosure:
My content contains affiliate links.
Recent questions tagged PYTHON
41,336
questions
53,852
answers
573
users
Recent questions tagged PYTHON
1
answer
41
views
How to check whether only 2 bits in a number at a specific position are on (edge‑case‑safe) with Python
asked
Apr 3
by
avibootz
python
python-check-2-number-bits-specific-position-on-edge-case-safe
check-2-number-bits-specific-position-on-edge-case-safe
1
answer
47
views
How to write 4 different functions that check if a number is a power of 2 in Python
asked
Apr 2
by
avibootz
python
python-different-functions-check-number-power-of-2
different-functions-check-number-power-of-2
1
answer
48
views
How to write 6 different functions that accept 5 or 7 and return the other number, without using if,switch in Python
asked
Mar 31
by
avibootz
python
python-different-functions-accept-5-7-return-other-number
different-functions-accept-5-7-return-other-number
1
answer
43
views
How to copy bits from M into N (numbers) between bit positions i and j (edge‑case‑safe) in Python
asked
Mar 30
by
avibootz
python
python-bits
python-copy-bits-m-into-n-between-positions-edge-case-safe
copy-bits-m-into-n-between-positions-edge-case-safe
1
answer
46
views
How to get the word before the last word from a string (edge‑case‑safe) in Python
asked
Mar 28
by
avibootz
python
python-string
python-get-word-before-last-string-edge-case-safe
get-word-before-last-string-edge-case-safe
1
answer
41
views
How to fill an area of the same number in a given matrix with 1 and 0 with a new number from a start point in Python
asked
Mar 28
by
avibootz
python
python-matrix
python-fill-area-same-number-matrix
fill-area-same-number-matrix
3
answers
52
views
How to get all possible subsets from a given group of numbers in Python
asked
Mar 27
by
avibootz
python
python-all-possible-subsets-group-of-numbers
all-possible-subsets-group-of-numbers
3
answers
53
views
How to find the median among three given numbers in Python
asked
Mar 26
by
avibootz
python
python-median-among-three-given-numbers
median-among-three-given-numbers
2
answers
62
views
How to produce a sequential count in octal, starting at zero in Python
asked
Mar 24
by
avibootz
python
python-sequential-count-octal
sequential-count-octal
3
answers
50
views
How to apply a callback to a list (apply a function to each element) in Python
asked
Mar 21
by
avibootz
python
python-callback-to-list
callback-to-list
1
answer
48
views
How to write custom callback function to a list (apply a function to each element) in Python
asked
Mar 21
by
avibootz
python
python-custom-callback-function-to-list
custom-callback-function-to-list
1
answer
40
views
How to apply callback to each row of multi‑dimensional NumPy array in Python
asked
Mar 19
by
avibootz
python
python-callback-multi-dimensional-numpy-array
callback-multi-dimensional-numpy-array
4
answers
52
views
How to apply callback to NumPy array in Python
asked
Mar 19
by
avibootz
python
python-callback-numpy-array
callback-numpy-array
4
answers
54
views
How to apply a callback to a list (apply a function to each element) in Python
asked
Mar 19
by
avibootz
python
python-callback-to-list
callback-to-list
1
answer
45
views
How to calculate the Ethiopian multiplication in Python
asked
Mar 17
by
avibootz
python
python-ethiopian-multiplication
ethiopian-multiplication
1
answer
47
views
How to calculate the percentage change between two values in Python
asked
Mar 16
by
avibootz
python
python-percentage-change-between-two-values
percentage-change-between-two-values
1
answer
53
views
How to find the longest shared prefix among all words in a string with Python
asked
Mar 12
by
avibootz
python
python-longest-shared-prefix-words-string
longest-shared-prefix-words-string
1
answer
44
views
How to group words by every prefix in Python
asked
Mar 12
by
avibootz
python
python-group-words-every-prefix
group-words-every-prefix
1
answer
52
views
How to group words in a string by the first N letters in Python
asked
Mar 12
by
avibootz
python
python-group-words-string-first-n-letter
group-words-string-first-n-letter
1
answer
64
views
How to find the prefix that is both long and frequent among all words in a string (length × frequency) with Python
asked
Mar 11
by
avibootz
python
python-longest-prefix-long-frequent-all-words-string
longest-prefix-long-frequent-all-words-string
4
answers
109
views
How to find the longest common prefix of all the words in a string with Python
asked
Mar 11
by
avibootz
python
python-longest-common-prefix-all-words-string
longest-common-prefix-all-words-string
4
answers
56
views
How to split a string on multiple multi‑character delimiters (and keep them) in Python
asked
Mar 10
by
avibootz
python
python-split-string-multiple-multi-character-delimiters
split-string-multiple-multi-character-delimiters
1
answer
36
views
How to get all permutations of K characters from a string in Python
asked
Mar 8
by
avibootz
python
python-python-all-permutations-k-characters-from-string
python-all-permutations-k-characters-from-string
1
answer
39
views
How to get all combinations of K characters from a string (not contiguous) in Python
asked
Mar 8
by
avibootz
python
python-all-combinations-k-characters-from-string
all-combinations-k-characters-from-string
1
answer
49
views
How to get all possible substrings, then choose K of them in Python
asked
Mar 8
by
avibootz
python
python-all-possible-k-substrings
all-possible-k-substrings
1
answer
35
views
How to get all substrings of length K in Python
asked
Mar 8
by
avibootz
python
python-all-substrings-of-length-k
all-substrings-of-length-k
1
answer
39
views
How to create a translation table to replace vowels in Python
asked
Mar 8
by
avibootz
python
python-create-translation-table-replace-vowels
create-translation-table-replace-vowels
1
answer
47
views
How to create a translation table to remove vowels in Python
asked
Mar 8
by
avibootz
python
python-create-translation-table-remove-vowels
create-translation-table-remove-vowels
1
answer
57
views
How to split a string on multiple single‑character delimiters (and keep them) in Python
asked
Mar 8
by
avibootz
python
python-split-string-multiple-single-character-delimiters
split-string-multiple-single-character-delimiters
1
answer
41
views
How to remove multiple characters in one pass in Python
asked
Mar 8
by
avibootz
python
python-remove-multiple-characters-one-pass
remove-multiple-characters-one-pass
1
answer
41
views
How to remove all adjacent duplicate characters from a string until no more can be removed in Python
asked
Mar 7
by
avibootz
python
python-remove-adjacent-duplicate-characters-string
remove-adjacent-duplicate-characters-string
2
answers
38
views
How to find the longest substring with all unique characters in Python
asked
Mar 7
by
avibootz
python
python-longest-substring-unique-characters
longest-substring-unique-characters
1
answer
46
views
How to find missing alphabet characters from a string in Python
asked
Mar 7
by
avibootz
python
python-missing-alphabet-characters-string
missing-alphabet-characters-string
1
answer
52
views
How to reverse only the alphabetic characters in a string, keeping other characters in place with Python
asked
Mar 6
by
avibootz
python
python-reverse-only-alphabetic-characters
reverse-only-alphabetic-characters
1
answer
50
views
How to find the longest word in a string with Python
asked
Mar 2
by
avibootz
python
python-string
python-longest-word-in-string
longest-word-in-string
5
answers
71
views
How to generate structured data using dictionary and lists in Python
asked
Mar 2
by
avibootz
python
python-generate-structured-data-using-dictionary-lists
generate-structured-data-using-dictionary-lists
2
answers
48
views
How to declare and print an empty dictionary, add and append lists later in Python
asked
Mar 2
by
avibootz
python
python-declare-dictionary-add-append-lists
declare-dictionary-add-append-lists
3
answers
54
views
How to declare and print a dictionary with lists in Python
asked
Mar 2
by
avibootz
python
python-declare-dictionary-with-lists
declare-dictionary-with-lists
1
answer
38
views
How to check if a string contains only 0 and 1 and is divisible by 7 in Python
asked
Mar 1
by
avibootz
python
python-string-contains-only-0-and-1-is-divisible-by-7
string-contains-only-0-and-1-is-divisible-by-7
4
answers
58
views
How to convert a dictionary to a list by repeating the keys value times in Python
asked
Feb 28
by
avibootz
python
python-convert-dictionary-to-list-repeating-keys-value-times
convert-dictionary-to-list-repeating-keys-value-times
1
answer
51
views
How to convert nested dictionary values to strings in Python
asked
Feb 27
by
avibootz
python
python-dictionary
python-convert-nested-dictionary-values-to-strings
convert-nested-dictionary-values-to-strings
1
answer
40
views
How to convert dictionary keys and values to strings in Python
asked
Feb 27
by
avibootz
python
python-convert-dictionary-keys-values-to-strings
python-dictionary
convert-dictionary-keys-values-to-strings
2
answers
54
views
How to convert dictionary values to strings in Python
asked
Feb 27
by
avibootz
python
python-convert-dictionary-values-to-strings
convert-dictionary-values-to-strings
python-dictionary
4
answers
61
views
How to convert a float to exponential in Python
asked
Feb 27
by
avibootz
python
python-convert-float-to-exponential
convert-float-to-exponential
1
answer
45
views
How to check if every digit in a number appears only once in Python
asked
Feb 26
by
avibootz
python
python-check-digits-number-appears-once
check-digits-number-appears-once
1
answer
44
views
How to find all happy numbers in a specific range with Python
asked
Feb 24
by
avibootz
python
python-find-happy-numbers-in-specific-range
find-happy-numbers-in-specific-range
1
answer
46
views
How to convert a number to any base in Python
asked
Feb 20
by
avibootz
python
python-convert-number-to-any-base
convert-number-to-any-base
1
answer
45
views
How to convert meters to yards and vice versa in Python
asked
Feb 20
by
avibootz
python
python-convert-meters-yards-vice-versa
convert-meters-yards-vice-versa
3
answers
68
views
How to create a list with zero in the center in Python
asked
Feb 20
by
avibootz
python
python-create-list-zero-center
create-list-zero-center
1
answer
57
views
How to count uppercase, lowercase, special characters, and numeric values using RegEx in Python
asked
Feb 19
by
avibootz
python
python-count-uppercase-lowercase-special-characters-numeric-regex
count-uppercase-lowercase-special-characters-numeric-regex
Page:
« prev
1
2
3
4
5
6
7
...
100
next »
...