Posts by lffloyd • 23 points
3 posts
-
1
votes1
answer117
viewsA: C - Error reading a character using scanf(): scanf() command is "skipped"
These problems are common in the use of scanf(), and also occur when other input capture commands are used in conjunction with the same. To make it clearer, let’s look at your code. The first time…
-
0
votes2
answers4433
viewsA: Typeerror: 'str' Object does not support item assignment
Your variable board is a string of size len(a), who is an immutable guy in Python. As suggested in the previous answer, you can change this variable so that it is a string array.…
-
1
votes2
answers121
viewsA: Extract a string after a javascript delimiter?
In addition to a split, you could also use a regex to automatically pick up the second part of the string: '7100-1156'.replace(/(\d{4})-(\d{4})/g, '\$2') In this code, the string was divided into…
javascriptanswered lffloyd 23