Cursos
Cursos
Compilador de Código
Compilador de Código
Discutir
Teams
Fazer login
Registrar
Menu
Q&A Discussões
Pesquisar
Pesquisar
Faça uma pergunta
Faça uma pergunta
I am having trouble with the % symbol in python can anyone help with these functions .not the greatest at math I suppose
functions
math
operations
order
python
1 Voto
9 Respostas
29th May 2017, 5:59 AM
john elifrits
What is the result of 4 % 5 ? I found this question in js challenge, thanks in advance.
javascript
0 Voto
4 Respostas
29th Nov 2016, 4:42 AM
Randa Elkhashen
Y the output will get the (Top% ) i am specified the 3 % symblos ..
c
0 Voto
1 Resposta
9th Aug 2019, 5:33 PM
LOKESHA E J
can you write a program calculate the (+; - ; % ; * ;/;) of 3 variable x,y,z with you progrmming language ?!
c#
c++
html
java
javascript
php
python
ruby
swift
2 Votos
6 Respostas
11th Apr 2017, 7:15 AM
ismail Banouigu
A question is sololearn HTML , it ask what is the measurements units can be used for width attributes , Its shows pixel and %
attributes
html
3 Votos
5 Respostas
11th Jul 2017, 3:07 PM
Priyanshu kumar Chaudhary
What is the output of this code? >>> x = 3 >>> num = 17 >>> print(num % x)
=
>>>
code?
is
of
output
pythonwhat
the
this
x
0 Voto
1 Resposta
8th Dec 2018, 3:35 PM
Agyin Berima
Hi! I just wrote this Python Script: 3 % 6 and I saw that the answer is 3, it made me wonder why.. Please explain to me..
python
-2 Votos
6 Respostas
16th Dec 2021, 12:33 AM
Alvaro Becerra
[SOLVED]how do i print %0.10f or something like that in a code?
\
%
c++
solved
string-formating
4 Votos
3 Respostas
15th Oct 2018, 5:16 PM
LONGTIE👔
What if we just use // this operator and no % for any operation? Would it effect the calculation??
numeric-operations
python
0 Voto
3 Respostas
18th Jul 2016, 3:58 PM
Sourav Kumar
Write a programe to find loss/profit % when CP is rs 500 and SP is ra 650.
java
0 Voto
1 Resposta
3rd Dec 2016, 12:45 PM
Subham Kumar
int main () { for (int x = 1; x <= 10; x++) { cout << 1 + (rand() % 6) << endl; } }
rand
0 Voto
6 Respostas
17th May 2020, 9:29 AM
Salini Selvam
To count the % from screen, and not from 16px for font (as example), how can I do it?
beautification
css
font
html
javascript
1 Voto
2 Respostas
3rd Apr 2017, 9:31 PM
Oleksandr Medyanskyi
nums = [1, 22, 35, -21, 45, 16, 18] for num in nums: if num % 2 == 0: continue print(num)
code
modules
numeric-operations
python
python3
0 Voto
1 Resposta
26th Jun 2021, 12:37 PM
Md Nazim Uddin Sagor
a pen was build for ₹9 and sold at ₹15. Find the profit. And profit % Can anyone tell me Any hint ??
python
0 Voto
4 Respostas
29th Apr 2021, 6:02 AM
Pranjal Mane
Why can't I change the #container height from 300px to 100%?[ solved]
%
css
height
html
px
7 Votos
1 Resposta
22nd Jan 2019, 1:10 PM
🍇 Alex Tușinean 💜
What kind of length parameters should be used to make your website portable for any kind of device.
%
em
length
padding
0 Voto
3 Respostas
18th Apr 2018, 5:37 AM
Robin Singh
What if we want the quotient and remainder of divide to be float? // And % doesn't give it in float form....
numeric-operations
1 Voto
2 Respostas
28th Dec 2017, 12:52 PM
LEO
I am not getting quotient and remainder operation. I need ur help .two front // and % how is it used. Plz explain me
numeric-operations
1 Voto
2 Respostas
22nd Nov 2018, 2:40 AM
Umar Shabeer
Can I use percent % in the progress tag instead of just the value. I tried this it didn't work though any suggestions please?
html5
progress
2 Votos
2 Respostas
3rd Apr 2018, 4:05 PM
omojola
How come cout<<7.0%2.0 gives an error?
%
c++
double
error
0 Voto
1 Resposta
4th Aug 2020, 9:23 PM
Solus
var a = 8; a = a + a / (a % 3); document.write(a); //output= 12 //do u have any explanation?
var
0 Voto
3 Respostas
17th Jun 2017, 12:09 AM
islam moheb
I am a beginner. I have a problem about % this can anyone explain me that how the output of print(4%2) is 0
print
0 Voto
3 Respostas
28th Apr 2021, 1:16 PM
Rakesh Mondal
var x = 8 ,, y = x++ * 5, z = (y % x); alert (z) // z = 0 or 4
40%8=0
0 Voto
2 Respostas
18th Jun 2020, 9:37 AM
cabdiqani Ahmed
When i use in JavaScript '%' it becomes number odd. What's the meaning of this mark?
%
c#
ect
java
javascript
4 Votos
1 Resposta
19th Oct 2018, 4:01 PM
Basel.Al_hajeri?.MBH()
var a=66; var b=a % 4; var c=b % a; document.write(c); ans is 2 how ??? i thought ans is zero coz b value is 2 and go to nxt step c=b%a 2%66 there is no reminder it will divide completely without reminder so ans is zero plz explain me clearly guyz 😇😶
javascript
objects
0 Voto
5 Respostas
19th Feb 2017, 4:52 PM
Mo D'souza
I'm from mechanical background. Just explain me use of % sign in following code. This is a program to display exam schedule.
python
0 Voto
1 Resposta
19th Sep 2020, 5:52 AM
jayesh patil
why this code in c , outputs this
%
%d
%o
%x
c
doubt
program
9 Votos
2 Respostas
25th Jun 2019, 10:23 AM
Sujithra
In jQuery to set dimensions , we can use .height(10px) and .width(10px) , Can we set it using % or em or rem?
css
jquery
1 Voto
2 Respostas
30th May 2019, 4:08 PM
Shubham Mhatre
What if it was >>> x*="eggs" or what if % was used?? Will you still get spameggs as the output?
operators
python3
0 Voto
1 Resposta
5th Feb 2019, 5:06 PM
M. Anne
I am just get into coding. I want to ask a question about what is % in python. I always get confused with this sign
python
1 Voto
2 Respostas
25th Mar 2020, 12:08 PM
energon liew
If we write % symbol before the letter, is it mean that the name in the table should end with whatever letter we use.
sql
2 Votos
2 Respostas
21st Jan 2018, 5:45 PM
Anil s chavan
What's is the easiest way to make a website responsive ?
@media
%
flex
meta
vh
wv
3 Votos
3 Respostas
7th Nov 2020, 8:50 AM
Francisco Bensaia
why use % two times in if statement after top 10 when result show one time %, what is the mean of second percentage?
c
0 Voto
1 Resposta
13th Mar 2020, 7:32 PM
Jitendra Kumar
Hi! I'm a newbie here, just wanna ask about what does this sign "%" do in these codes, def even (x) if x % 2 == 0: ?
functions
python
1 Voto
5 Respostas
31st Mar 2017, 1:20 AM
Arvin Orpilla
Can an element or several elements have both a width in % and a height in pixels to create a Responsive Website HTML and CSS ?
css
html
responsive
0 Voto
2 Respostas
23rd Apr 2024, 4:13 PM
Lorentz Pierre-Elies
Size in CSS (px, em, vh, vw, %)
%
css
em
px
size
styling
0 Voto
5 Respostas
20th Dec 2019, 3:11 PM
Joshua Morgan
why p%10 is 9.0000000001 while it should be 9 only????? Can someone please help....
%
c#
help
modulus
problem
0 Voto
2 Respostas
10th Mar 2020, 5:12 AM
Addy
To take remainders into account in c, % is used on a computer right? Is it the same here, coz my program is giving me issues.
code
codeplayground
div
progress
0 Voto
2 Respostas
12th Mar 2020, 5:13 AM
Phoenix
Let p(t) be the percentage of children that are male at the end of year t. How is this % expected to evolve through time?
math
0 Voto
2 Respostas
26th Sep 2018, 5:45 PM
manish lamba
How to write a program to find a number is even or odd. Print "even" or "odd" on screen conditions : don't use / % conditional statements if else switch and loops for while & do while
c++
3 Votos
8 Respostas
26th Jun 2016, 6:59 AM
Ramesh Marisa
If you New on sololeran, how much time will it take to HTML cours complete?with understanding (you have 30 % knowledge of HTML)
css
html
-3 Votos
2 Respostas
13th Jul 2021, 10:58 AM
Ajay Chudasama
Please help me complete this program to enable me get an output of y int main() { int x = 9; int y = x % 5; x= ; cout<<x*y ;
c++
1 Voto
4 Respostas
27th Sep 2016, 5:16 PM
Ibim
>>> def even(X): ... if X % 2 == 0 : return True ... else: return False ... >>> filter(even, [0,1,2,3,4,5,6]) [0,2,4,6] How to get that output, help please...
python
0 Voto
3 Respostas
14th Sep 2016, 11:07 PM
Vinh Le
why got it this result in array.filter? javascript
%
array
even
filter
function
mod
odd
0 Voto
3 Respostas
16th Mar 2020, 5:40 PM
MetaCop
let size = 8; let board = ""; for (let y = 0; y < size; y++) {for (let x = 0; x < size; x++) { if ((x + y) % 2 == 0) {
javascript
1 Voto
2 Respostas
21st Nov 2019, 7:42 AM
Charles $now
Can you help me in this code?
%
==
0
3
and
for
if
in
int(input())
n):
n=
range(1,
x
x
x
-4 Votos
9 Respostas
17th Jun 2021, 6:44 PM
zoro
can someone rewrite this as for loop? and A Do while loop also. int i = 0; int value = 0; while (i <=20){ if (i % 2 == 0 && i <= 10){ value = value + i * i; } else if (i % 2 == 0 && i > 10){ value = value - i; } else{ value = value - i; i = i + i; }
java
loops
0 Voto
3 Respostas
29th Sep 2016, 1:32 AM
Nhyn Ojastro
CSS: Can we use vh or vw for margin?
%
css
html
js
margin
vh
viewport-height
web
2 Votos
2 Respostas
11th Jul 2019, 1:50 AM
Ginfio
Which is the best way to set the size of text on CSS and why? em, rem, px, %, vw or vh? Thank you, people!
%
css
em
px
rem
size
vh
vv
vw
1 Voto
3 Respostas
6th Jul 2018, 1:57 PM
Celeste Zapata
I don't understand the meaning of this sentence.
%
a
and
are
begin
format
percent
sign
specifiers
with
1 Voto
4 Respostas
14th Feb 2020, 1:16 PM
林妤宸
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
Faça uma pergunta
< Anterior
1
...
7
8
9
Próximo >
Quente hoje
What's wrong with this code ? ( Beginner)
4 Votes
Pig Latin
0 Votes
Someone can help me
0 Votes
Square Roots
0 Votes
What's wrong with this?
2 Votes
Currently learning C++, I’m getting into socket programming with C++
0 Votes
Is there any new bug in the projects reply sections?
1 Votes
I’m new someone can help me
0 Votes
What's doctype htMl
2 Votes
HTML community, HELP!!
0 Votes