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
c
java
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
vbnet
dart
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
cpp-string
c-string
swift-string
go-string
php-string
bash
java-string
c#-string
vbnet-string
python-string
cobol
rust-string
scala-string
javascript-string
cpp-vector
typescript-string
pascal-array
f#
opengl
c-array
swift-array
php-array
javascript-array
rust-vector
typescript-array
python-list
scala-array
reactjs
c-windows
nodejs-string
go-array
nodejs-array
kotlin-array
sdl2
cpp-matrix
cpp-array
c-matrix
sdl3
c#-list
vbnet-list
java-array
pascal-matrix
c#-array
swift-matrix
c#-matrix
go-slice
nodejs-express
character-code-ascii-unicode
kotlin-matrix
typescript-matrix
vbnet-array
angularjs
split-string-into-array-by-delimiter
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
rust-matrix
go-matrix
kotlin-list
get-n-digit-after-decimal-point-float
swap-two-numbers-without-third
swap-two-numbers
mask-number-stars-except-last-4-digits
remove-characters-first-string-from-second-string
generate-8-digit-random-number
Disclosure:
My content contains affiliate links.
Recent questions tagged python
43,693
questions
57,001
answers
573
users
Recent questions tagged python
3
answers
11
views
How to calculate the largest positive integer in a 64-bit system in Python
asked
11 hours
ago
by
avibootz
python
python-largest-positive-integer-64-bit
largest-positive-integer-64-bit
1
answer
8
views
How to get the largest positive integer supported by the current OS in Python
asked
1 day
ago
by
avibootz
python
python-largest-positive-integer
largest-positive-integer
1
answer
25
views
How to sort a dictionary first by value, then by key in Python
asked
3 days
ago
by
avibootz
python
python-sort-dictionary-value-key
sort-dictionary-value-key
1
answer
30
views
How to find the maximum distance between two numbers in an array with Python
asked
4 days
ago
by
avibootz
python
python-maximum-distance-two-numbers-array
maximum-distance-two-numbers-array
1
answer
37
views
How to create a list of all divisors of a number in Python
asked
6 days
ago
by
avibootz
python
python-list-all-divisors-number
list-all-divisors-number
1
answer
43
views
How to constructs a Binary Search Tree (BST) from a list of numbers in Python
asked
6 days
ago
by
avibootz
python
python-constructs-binary-search-tree-from-list
constructs-binary-search-tree-from-list
1
answer
40
views
How to compute the total number of combinations when choosing 7 numbers out of 33 in Python
asked
6 days
ago
by
avibootz
python
python-total-combinations-choosing-7-out-of-33
total-combinations-choosing-7-out-of-33
4
answers
99
views
How to format a string using fixed-width fields in Python
asked
Oct 18
by
avibootz
python
python-string
python-format-string-fixed-width-fields
format-string-fixed-width-fields
1
answer
59
views
How to get the Nth digit after the decimal point of a floating-point number in Python
asked
Oct 15
by
avibootz
python
python-get-n-digit-after-decimal-point-float
get-n-digit-after-decimal-point-float
2
answers
106
views
How to get the Nth digit of a number from the right in Python
asked
Oct 13
by
avibootz
python
python-get-n-digit-of-number-from-right
get-n-digit-of-number-from-right
1
answer
97
views
How to removes all extensions from a filename in Python
asked
Oct 12
by
avibootz
python
python-removes-all-extensions-filename
removes-all-extensions-filename
2
answers
129
views
How to remove file extension in Python
asked
Oct 12
by
avibootz
python
python-remove-file-extension
remove-file-extension
4
answers
119
views
How to print a variable inside quotation marks in Python
asked
Oct 10
by
avibootz
python
python-print-variable-inside-quotation-marks
print-variable-inside-quotation-marks
3
answers
115
views
How to compare floating-point values safely in Python
asked
Oct 8
by
avibootz
python
python-floating-point
python-compare-floating-point-safely
compare-floating-point-safely
2
answers
75
views
How to mask a number with stars except the last 4 digits in Python
asked
Oct 5
by
avibootz
python
python-mask-number-stars-except-last-4-digits
mask-number-stars-except-last-4-digits
1
answer
71
views
How do you find the position of the most significant bit (MSB) of an unsigned integer in Python
asked
Sep 30
by
avibootz
python
python-position-msb-integer
position-msb-integer
1
answer
68
views
How to use XOR to swap two characters in a string in Python
asked
Sep 30
by
avibootz
python
python-xor-swap-two-characters-string
xor-swap-two-characters-string
1
answer
70
views
How to find the intersection of two lists (values that exist in both lists) in Python
asked
Sep 28
by
avibootz
python
python-intersection-two-lists
intersection-two-lists
1
answer
87
views
How to check whether the letters of a word exist in a string (order doesn't matter) in Python
asked
Sep 26
by
avibootz
python
python-letters-of-word-exist-in-string-order-doesnt-matter
letters-of-word-exist-in-string-order-doesnt-matter
1
answer
75
views
How to convert multiple date formats to YYYY-MM-DD in Python
asked
Sep 24
by
avibootz
python
python-convert-date-formats-to-yyyy-mm-dd
convert-date-formats-to-yyyy-mm-dd
1
answer
74
views
How to print a number with a thousand separator as spaces in Python
asked
Sep 21
by
avibootz
python
python-number-thousand-separator-spaces
number-thousand-separator-spaces
1
answer
69
views
How to demonstrate how to make print() show a custom string for class instances in Python
asked
Sep 21
by
avibootz
python
python-make-print-show-custom-string-for-class-instances
make-print-show-custom-string-for-class-instances
1
answer
75
views
How to get the country name from the 2-letter country code (alpha-2) in Python
asked
Sep 19
by
avibootz
python
python-country-name-from-country-code
country-name-from-country-code
1
answer
83
views
How to extract all floating-point numbers from a string of words in Python
asked
Sep 17
by
avibootz
python
python-extract-all-floating-point-numbers-string
extract-all-floating-point-numbers-string
2
answers
129
views
How to put an actual backslash in a string in Python
asked
Sep 14
by
avibootz
python
python-put-backslash-in-string
put-backslash-in-string
1
answer
102
views
How to compute the factorial of a number greater than 20 in Python
asked
Sep 14
by
avibootz
python
python-compute-factorial-of-number-greater-20
compute-factorial-of-number-greater-20
1
answer
101
views
How to select N unique random values that appear exactly once in an existing list with Python
asked
Sep 13
by
avibootz
python
python-n-unique-random-values-appear-once-in-list
n-unique-random-values-appear-once-in-list
1
answer
90
views
How to select N unique random indices from an existing list in Python
asked
Sep 12
by
avibootz
python
python-select-n-unique-random-indices-list
select-n-unique-random-indices-list
1
answer
101
views
How to find common words in two strings with Python
asked
Sep 11
by
avibootz
python
python-string
python-find-common-words-two-strings
find-common-words-two-strings
1
answer
93
views
How to generate all trigrams (3-character sequences) from a given word in Python
asked
Sep 9
by
avibootz
python
python-generate-all-trigrams-given-word
generate-all-trigrams-given-word
1
answer
95
views
How to compare two float NumPy arrays using a tolerance in Python
asked
Sep 8
by
avibootz
python
python-compare-two-float-numpy-arrays-tolerance
compare-two-float-numpy-arrays-tolerance
1
answer
101
views
How to compare two float lists using a tolerance in Python
asked
Sep 8
by
avibootz
python
python-compare-two-float-lists-tolerance
compare-two-float-lists-tolerance
1
answer
115
views
How to split text without spaces into a list of words using dictionary-based segmentation in Python
asked
Sep 7
by
avibootz
python
python-split-text-without-spaces-into-words-dictionary
split-text-without-spaces-into-words-dictionary
1
answer
107
views
How to convert numbers from 0 to 999,999,999,999,999 (up to 999 trillion) into English words in Python
asked
Sep 5
by
avibootz
python
python-convert-numbers-0-999999999999999-english-words
convert-numbers-0-999999999999999-english-words
1
answer
108
views
How to parse a table into a binary tree in Python
asked
Sep 5
by
avibootz
python
python-parse-table-into-binary-tree
parse-table-into-binary-tree
1
answer
105
views
How to declare, initialize, and print a medium complexity, varied, feature‑rich data structure in Python
asked
Sep 3
by
avibootz
python
python-declare-initialize-print-medium-complexity-data-structure
declare-initialize-print-medium-complexity-data-structure
1
answer
109
views
How to sort a list of classes that contain nested classes using custom comparison logic in Python
asked
Sep 1
by
avibootz
python
python-sort-list-of-classes-contain-nested-classes
sort-list-of-classes-contain-nested-classes
1
answer
126
views
How to find the N most frequent non‑stopwords in a text in Python
asked
Aug 30
by
avibootz
python
python-n-most-frequent-non-stopwords-text
n-most-frequent-non-stopwords-text
1
answer
89
views
How to find the starting index of all occurrences of a word in a string in Python
asked
Aug 30
by
avibootz
python
python-find-starting-index-all-occurrences-word-string
find-starting-index-all-occurrences-word-string
1
answer
96
views
How to convert any digital storage unit into all others (B, KB, MB, GB, TB, PB, EB, ZB, YB) in Python
asked
Aug 28
by
avibootz
python
python-convert-any-digital-storage-unit-into-all-others
convert-any-digital-storage-unit-into-all-others
1
answer
89
views
How to write the Tic-Tac-Toe game in Python
asked
Aug 27
by
avibootz
python
python-tic-tac-toe-game
tic-tac-toe-game
2
answers
135
views
How to generate a random RGBA color and opacity in Python
asked
Aug 25
by
avibootz
python
python-generate-random-rgba-color-opacity
generate-random-rgba-color-opacity
2
answers
187
views
How to generate a series of unique HEX colors in Python
asked
Aug 24
by
avibootz
python
python-generate-series-unique-hex-colors
generate-series-unique-hex-colors
2
answers
135
views
How to print the numbers 0 to 31 by changing 1 bit each time in Python
asked
Aug 21
by
avibootz
python
python-print-0-31-changing-1-bit-each-time
print-0-31-changing-1-bit-each-time
1
answer
99
views
How to generate N random 1s in a zero-based matrix with Python
asked
Aug 20
by
avibootz
python
python-generate-n-random-1-zero-based-matrix
generate-n-random-1-zero-based-matrix
1
answer
139
views
How to initialize a list with a range of numbers in Python
asked
Aug 17
by
avibootz
python
python-initialize-list-range-of-numbers
initialize-list-range-of-numbers
1
answer
133
views
How to do modulo multiplication for 64‑bit values without using BigInteger in Python
asked
Aug 16
by
avibootz
python
python-modulo-multiplication-64-bit-values-without-biginteger
modulo-multiplication-64-bit-values-without-biginteger
1
answer
140
views
How to remove every N‑th element from a list in Python
asked
Aug 15
by
avibootz
python
python-remove-every-n-element-list
remove-every-n-element-list
1
answer
120
views
How to build sparse list in Python
asked
Aug 15
by
avibootz
python
python-build-sparse-list
build-sparse-list
1
answer
144
views
How to get the first N digits of a BigInteger in Python
asked
Aug 14
by
avibootz
python
python-get-first-n-digits-biginteger
get-first-n-digits-biginteger
Page:
1
2
3
4
5
6
...
103
next »
...