+ 1
Output
Can someone help me understand how to workout the output of something I really donât understand it.đ
16 RĂ©ponses
+ 8
Your question should be
a = 5
b = 8
c = 2
d = (a+b*c)%c #Explanation: Bodmas b*c = 8 * 2 = 16
a + b * c = 5 + 16 = 21
(a + b * c) % c = 21 % 2 = 1
print(d + a) # d + a = 1 + 5 = 6
ANSWER IS 6
+ 7
Refer to my previous answer
+ 7
Repetition for emphasis
If python answer is error as a, b, c and d are not initialized, A is not the same as a
+ 6
Pls what language is this:
If python answer is error as a, b, c and d are not initialized, A is not the same as a
+ 4
What do you have in mind? Write a more specific question! :)
@Sololearn
+ 4
Pls be more specific Izzy
+ 2
One more question
What is the output?
I=[]
N=1
While n<15:
l.append(n)
n += 1
Print(l[1])
+ 1
Ok an example...
What is the output of this code?
A = 5
B = 8
C = 2
D = (a+b*c)%c
Print(d + a)
+ 1
Yes it is phython
+ 1
âPythonâ sorry
0
Just like overall
0
Ohhhh I get it
0
And it is python
- 1
Ok thanks ...
- 1
just practice question
and logical question also