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
c#
cpp
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
dart
ruby
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
swift-string
c-string
cpp-string
go-string
c#-string
php-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
c-array
swift-array
typescript-string
cobol
php-array
javascript-array
rust-vector
vbnet
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
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
create-infinite-loop
rust-matrix
go-matrix
javascript-matrix
raylib
glfw
represent-boolean-true-false
different-functions-check-number-power-of-2
get-last-word-string
remove-last-word-string
calculate-surface-area-cuboid
remove-last-occurrence-word-string
Disclosure:
My content contains affiliate links.
Recent questions tagged python
40,692
questions
53,014
answers
573
users
Recent questions tagged python
11
answers
19
views
How to copy a string in Python
asked
6 hours
ago
by
avibootz
python
python-copy-string
copy-string
1
answer
15
views
How to get character code (ASCII and Unicode) in Python
asked
1 day
ago
by
avibootz
python
python-character-code-ascii-unicode
character-code-ascii-unicode
1
answer
19
views
How to represent the Boolean "true" and "false" in Python
asked
2 days
ago
by
avibootz
python
python-represent-boolean-true-false
represent-boolean-true-false
2
answers
22
views
How to print all possible permutations (all possible orderings) of the words in Python
asked
2 days
ago
by
avibootz
python
python-all-possible-permutations-words
all-possible-permutations-words
1
answer
16
views
How to calculate relative past time from a given date & time (e.g., 3 hours ago, 5 days ago, a month ago) in Python
asked
3 days
ago
by
avibootz
python
python-calculate-relative-past-time-date-time
calculate-relative-past-time-date-time
1
answer
24
views
How to create an infinite loop using while true with a delay in Python
asked
5 days
ago
by
avibootz
python
python-create-infinite-loop-with-delay
create-infinite-loop-with-delay
4
answers
24
views
How to create an infinite loop in Python
asked
5 days
ago
by
avibootz
python
python-create-infinite-loop
create-infinite-loop
1
answer
20
views
How to add a new interval into a sorted list of non‑overlapping intervals in Python
asked
Apr 9
by
avibootz
python
python-add-interval-into-sorted-list-non-overlapping-intervals
add-interval-into-sorted-list-non-overlapping-intervals
1
answer
17
views
How to detect whether any intervals overlap in a list of start and end times with Python
asked
Apr 8
by
avibootz
python
python-detect-intervals-overlap-list-start-end-times
detect-intervals-overlap-list-start-end-times
1
answer
37
views
How to print text diagonally from left to right recursively in Python
asked
Apr 6
by
avibootz
python
python-print-text-diagonally-from-left-to-right-recursively
print-text-diagonally-from-left-to-right-recursively
1
answer
25
views
How to find the k biggest values from a list in Python
asked
Apr 6
by
avibootz
python
python-k-biggest-values-list
k-biggest-values-list
1
answer
33
views
How to find the maximum value we can achieve by picking k elements from a list in Python
asked
Apr 6
by
avibootz
python
python-maximum-value-k-elements-list
maximum-value-k-elements-list
2
answers
35
views
How to print text diagonally from left to right in Python
asked
Apr 5
by
avibootz
python
python-print-text-diagonally-from-left-to-right
print-text-diagonally-from-left-to-right
1
answer
27
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
30
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
32
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
28
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
33
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
28
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
33
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
34
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
45
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
29
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
35
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
25
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
26
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
39
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
35
views
How to calculate the Ethiopian multiplication in Python
asked
Mar 17
by
avibootz
python
python-ethiopian-multiplication
ethiopian-multiplication
1
answer
31
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
39
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
33
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
43
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
51
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
98
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
48
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
27
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
30
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
35
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
27
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
30
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
37
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
47
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
32
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
33
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
27
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
34
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
39
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
40
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
57
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
40
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
Page:
1
2
3
4
5
6
...
100
next »
...