logic tag

6 questions


1 answers
43 views
0
Can Weblogic log objects be filtered from web applications?

<2014/12/19 17:15:53 JST><Notice><LoggingService><BEA-320400><Log File C:\Oracle\user_projects\domains\base_domain\servers\AdminServer\logs\datource Rotation.If the process ...

2 years ago

1 answers
100 views
0
The best way to make sure that at least two of the three boolean are true

I was doing an interview and the interviewer told me to write a code to find out if two or more are true when there are three boolean variablesboolean atLeastTwo(boolean a, boolean b, boolean c) { if ...

2 years ago

1 answers
146 views
0
To compare multiple variables to a single value

I'm now creating a function that returns a string of three words by comparing several variables with one integer value. I wonder how to write this in Python. For example, x = 0y = 1z = 3Mylist = []if ...


1 answers
46 views
0
I have a question about the code you wrote in the 4-14 lecture.

I have a question It's not a grammatical questionAmong the codes you wrote in the lecture function els(selector , context){ // It is not a character of the selector type, or the length of the selector...

2 years ago

1 answers
41 views
0
How do you use logic operators && in Python?

When I run the code below, it says that I can't write &&So how can I write logical AND && in Python?def front_back(a, b): If len(a) %2 == 0 && len(b) %2 == 0: #Error here retur...

2 years ago

1 answers
32 views
0
Where is the logical operator xor that can also be used in a string?

Compare the two string values and return True when only one is true (None or a string other than ). ^ seems to be a bit operator, not a logical operator, and cannot be written in a string, such as str...

2 years ago

© 2024 OneMinuteCode. All rights reserved.