python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How do I return a value of true if the letters 'a' and 'b' are exactly 3 places apart?
I'm trying to create a function that takes in a string and outputs a value of true if any of the 'a's in the string are exactly 3 places from the 'b's in the same string. If the 'a's and 'b's are not ...

jacob_hill08
Votes: 0
Answers: 7
c - what is the most efficient way to copying a string?
what is the most efficient way for the cpu (benchmark way) to copy a string?
I am new to c and i am currently copying a string like this
char a[]="copy me";
char b[sizeof(a)];
fo...

dn70a
Votes: 0
Answers: 3
Removing item from list in for loop removes from both lists
list1 = [1, 2, 3]
list2 = list1
for i, x in enumerate(list2):
print(list1, list2)
del list2[i]
returns
[1, 2, 3] [1, 2, 3]
[2, 3] [2, 3]
[2] [2]
when I expect it to return
[1, 2, 3] [1, 2, ...
pgould
Votes: 0
Answers: 1
Assign name to excel sheet from variable in list
I have account names that are saved in a python list, let's say "account a", "account b", "account c" and so on. This list has been saved in a Pandas dataframe.
I'd like ...

user16646545
Votes: 0
Answers: 1