python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Php Or operator doesn´works propertly
I´m trying to use or operator in a php sentence but only validate the first condition, what´s wrong?
if ($_SESSION['user_id'] != 4 || $_SESSION['rol'] != 1)
{
//exit
}else{
//do something
}```

porfinfunciona
Votes: 0
Answers: 1
Get a word's function in a sentence PY
my question is a bit tricky here, in fact i'm trying to identify the ROLE of a word in a given sentence, i manage to get something using nltk, the problem is that it's telling me what the word is, wha...
Darleanow
Votes: 0
Answers: 1
Text - extract sentences from text file that have certain characters python
I am having a text file(consider it as main.txt) which has multiple language contents and I am having a charcter set text file which has particular characters. For example: character set text file con...
user16345032
Votes: 0
Answers: 2
To count the number of lines only when particular characters are present - Python
I am having a text file(consider it as main.txt) which has multiple language contents and I am having a charcter set text file which has particular characters.
For example: character set text file con...
user16345032
Votes: 0
Answers: 1