Corsi
Accedi
Inizia a imparare l'IA
Corsi
Accedi
Inizia a imparare l'IA
Discussioni Q&A
Cerca
Cerca
Fai una domanda
Fai una domanda
what is operators [ + - × ÷ % ^ ~ ] precedence in Python?
operator-precedence
operators
python
1 Voto
5 Risposte
13th Jul 2016, 3:14 AM
Suraj Bobade
How can you write % in python, just like 10% or 15% then use the value to calculate?
coding
python
1 Voto
4 Risposte
15th Jan 2023, 3:05 PM
Wiseman Umanah
Most of questions in javascript challenges are about % operator, or It's gonna change in time ?
javascript
4 Voti
6 Risposte
15th Jan 2017, 8:53 PM
Adijata Vukas
Evaluate expression- (given a=15; b= 10 ) 1) a % b++ 2) ++a – b--
java
0 Voti
2 Risposte
19th Aug 2020, 9:50 AM
Darpan Kushwaha
How can I make it where there's a % chance of something happening? C# Language
chance
1 Voto
3 Risposte
3rd Mar 2019, 10:50 PM
SpacedOut
please explain how this equation is calculated in python >>> 1.25 % 0.5 0.25
numeric-operations
python
1 Voto
1 Risposta
6th Mar 2019, 10:11 AM
Chaitanya Damaraju
How does the functioning of // and % differ in python and other languages
codemaster
2 Voti
2 Risposte
21st Feb 2017, 4:54 PM
Bhumik Varu
Cout<<5.0*2 works fine, but cout<< 5.0%2 gives an error. Why?
%
c++
doubt
float
1 Voto
11 Risposte
11th Sep 2020, 3:02 PM
Aayu
pls tell me why its not printing % when i input same adjacent elements
c++
functions
pointers
0 Voti
2 Risposte
3rd Jul 2019, 3:47 AM
[ ]
Help me Can you explain the (%) sign in detail in java
%
help
java
0 Voti
4 Risposte
10th Oct 2022, 11:56 AM
Hadi Keleş
Why not '0' for the expression $num1 = (22 % 3 == 22 > 3); ?
php
0 Voti
3 Risposte
7th Jun 2021, 12:56 PM
Wah Wah Shwe(와와쵀)
Please can someone explain this % to me? I don't understand how its calculated.
numeric-operations
python
0 Voti
3 Risposte
19th Jul 2017, 8:32 PM
Daniel
I don't understand the % mark and the array thing. Please, someone explain to me.
javascript
operators
0 Voti
4 Risposte
12th Feb 2017, 1:23 PM
Sinethemba Gomba
list = [1, 2, 3, 4] if (list) % 2 == 0 : print(list[ ]) anyone help?
python
-5 Voti
8 Risposte
24th Mar 2017, 12:17 PM
Jay Sibley
C# y%x = ?
%
beginner
c#
help
0 Voti
9 Risposte
5th Mar 2020, 9:05 PM
LmaoPewPew
Well,Basically what operations are performed on bits when we use % (or what instructions at assembly level)
c++
compiler
functions
5 Voti
3 Risposte
21st Dec 2016, 6:29 PM
Shantanu Verma
Why is 1 % 2 = 1? I understand that 13 % 4 = 1 because 1 is the remainder of 13 / 4, but I don't see how the first modulus works. Can someone explain this please?
python
1 Voto
6 Risposte
2nd Oct 2016, 7:49 PM
method
Why use the "{0}" .format("something") rather than " %s " % "something" ??
.format()
%s
python
strings
1 Voto
1 Risposta
25th Jan 2017, 12:08 AM
Paul Jefferyes
What is the real meaning of % and int arr(3)={5,3,1}.i'm really don't understand
sololearn
0 Voti
2 Risposte
16th Dec 2016, 1:08 PM
Asna Khalidah Mohd Shobri
public class IfClass { public static void main(String[] args) { int noOfPetals = 5; if (noOfPetals % 2 ==
java
1 Voto
4 Risposte
24th Jul 2020, 4:54 AM
Gautam Patel
Where does the % operator lie in the order of arithmetic preference in c++???
c++
operators
1 Voto
2 Risposte
11th Feb 2017, 3:28 AM
Mohammed Mubin
Here to print dictionary %(name, number) is used, why % is used instead of common?
%
dictionary
for
printing
python
why
1 Voto
1 Risposta
9th May 2021, 5:45 AM
Kavya N
Why we use # symbol in c language why not % in header file
a
0 Voti
2 Risposte
13th Sep 2018, 1:05 PM
manoj hunachigi
fun main(args: Array<String>) { var total = 200 var items=7 println(total / items) println(total % items
modulo
-2 Voti
3 Risposte
11th Sep 2022, 5:18 PM
Ephrem Hailu
How can these two work together % & px.. just trying to make sure I'm understanding it. Thanks
height
width
1 Voto
6 Risposte
24th Jun 2018, 8:19 PM
QBulla
I dont get it, how is the remainder of 1.25 % 0.5 being 0.25 instead of 0.5?
numeric-operations
python
1 Voto
5 Risposte
6th Dec 2017, 10:42 AM
Isaac Mbugua
What is floor division and modulo operators in Phython 3 i don’t understand please give me answer and examples
//
%
and
1 Voto
2 Risposte
2nd Jun 2019, 12:07 PM
Rupak Barman
What is difference between width + length v.s width + height and % and pixel in <img>
html
images
1 Voto
3 Risposte
24th Feb 2020, 3:58 AM
Nguyen Tan Thanh
int a = 5 % 10; System.out.print(a); why is the answer 5? Shouldn't the remainder be 10?
java
modulo
remainder
1 Voto
3 Risposte
11th Apr 2020, 4:00 AM
Cyrus X Almani
return (numerator / denominator) % 1 if denominator else 0 (can someone explain this )
python
0 Voti
1 Risposta
20th Feb 2022, 7:12 PM
Ashish kumar
Is it also possible to use the % when designating font-size? Ex.) p { font-size: 125%; }
css
font
3 Voti
3 Risposte
19th Feb 2016, 2:00 PM
Randy Sanchez II
Why we use % and & in c programming what's the use of it in c
progress
1 Voto
1 Risposta
5th May 2020, 8:29 PM
Reshant jeetendra jansari
What does the %operator do in java? Like /is decision...
%
java
operators
0 Voti
3 Risposte
17th Dec 2019, 5:34 PM
Coolman
What does i[b] % [/b]2 == 0 mean, when i is an integer from a range?
python3
1 Voto
2 Risposte
18th Aug 2018, 5:39 PM
P.W.R.
I code about 10 codes but still my coder % is 0 , on what basis they judge your coding
codeplayground
coder%
sololearn
3 Voti
7 Risposte
22nd Apr 2017, 8:41 PM
Simranjeet Singh
Can any one show me the the working of modolus operator ?? why why 4 % 7 =4 ??
mod
4 Voti
4 Risposte
14th Jul 2017, 7:32 AM
Dhananjay Kumar
int x = 25 % 7; cout << x; /// why the output is 4 ??
c
c++
1 Voto
2 Risposte
26th Mar 2017, 1:51 AM
Gilang Rizki
How does the modulus operator work on negative numbers?
%
modulus
operators
python
4 Voti
4 Risposte
10th Jun 2020, 5:11 PM
M Tamim
What does "%s %s" mean?
%
%s
list
0 Voti
2 Risposte
30th May 2021, 9:32 AM
Husstavo
I do not understand the difference between// and % do anyone give clatity please with example.
numeric-operations
python
0 Voti
3 Risposte
23rd Dec 2016, 2:40 PM
Kishore
Anyone know the (seconds%3600)/60. Meaning if anyone know so can you please explain me why the coder use the %
java
timeconverter
timeconvertercode
0 Voti
5 Risposte
30th Mar 2021, 7:21 AM
Dhruvil Vishwakarma
siblings = int(input()) popsicles = int(input()) #your code goes here if popsicles % 2 == 0: print("give away") else:
helpwithsolution
0 Voti
2 Risposte
6th Jul 2022, 4:42 AM
shifa
why the answer of this code is 321123? this is the explain attatched with the answer. but i could not understand it
%
java
methods
recursion
1 Voto
5 Risposte
1st Jan 2019, 12:18 AM
Ahmad Ali
What is the output of the following code? function magic(...nums) { let sum = 0; nums.filter(n => n % 2 == 0).map(el => sum+
javascript
rest-parameters
0 Voti
3 Risposte
15th Oct 2019, 11:09 AM
amal mohammed
What is the result of the following expression? 1 + 3 / 2 – 7 % 3
java
1 Voto
2 Risposte
13th Aug 2017, 12:52 PM
Shreyansh
Why 1 is added with (rand()%range) ? And why do we use module % between rand() and range ?
cpp
1 Voto
2 Risposte
3rd Jul 2022, 12:11 PM
Aftab Qureshi
Ok then similarly to c here % produces remainder but using // 2 times we get quotient
1 Voto
2 Risposte
26th May 2017, 8:58 AM
K Sai
Does Sololearn use Javascript for its SL Android version? Then how many % of the total code line?
javascript
sl,
sololearn
4 Voti
1 Risposta
15th Jul 2017, 4:55 AM
DNABIRONG
What is difference between rem & vh & vw & % when I have to use it not px?
css
0 Voti
2 Risposte
29th Jun 2022, 11:42 AM
Hanae
Adding to an array when the remainder of the separation is equal to 0
%
arr
javascript
js
0 Voti
6 Risposte
6th Apr 2021, 12:46 PM
Bomko Aleksey 👨💻
Fai una domanda
Fai una domanda
Fai una domanda
Fai una domanda
< Precedente
1
...
6
7
8
9
Successivo >
Popolare oggi
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
4 Votes
Guys I don't know anything about cooding who can help me pls
1 Votes
Why can’t I use double “ in python?
1 Votes
What do you think of this code and what are your suggestions for developing and modifying it?, How can I develop myself more?
1 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
You’re free to give me your advice! 🚨
1 Votes
Salut tout le monde
1 Votes
How can i isntall modules
1 Votes