python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How can I turn this into a function that takes 2 arguments - a sentence and then the word I want to count in the string?
I am a newbie here. I had a technical assessment the other day and had a coding question where I had to write a function that took two arguments, a sentence and a word. The function had to count how m...
Aisha
Votes: 0
Answers: 2
How to change a string I get from API
I get a string with a date of the first flight for each of four rockets from this API. The string that I get looks like this: "2006-03-24". I want it to look this way: "24 March, 2006&q...
bowtie
Votes: 0
Answers: 3
java equalent of HEXTORAW Function In Oracle
Hi I want the java equalent of HEXTORAW Function In Oracle .in oracle you can use :
SELECT hextoraw(to_char(ascii('z'))) from DUAL;
that generates 0122 or use
SELECT hextoraw(to_char(ascii('C'))) fr...
pumper
Votes: 0
Answers: 1
Need output in json format without single quotes. json.dumps vs json.loads
Below is a simplified use case of what I'm trying to do. Any pointers or help is much appreciated.
>>> x
{'event': 'a'}
>>> type(x)
<class 'dict'>
>>> json.dumps(x)
'{...
dheeraj
Votes: 0
Answers: 1