Numeric-operations answer | SoloLearn: Learn to code for FREE!

+7

Numeric-operations answer

the answer is 1 and I am only in form 1 and I'm 11 and I never did this subject or anything and didn't even know this app existed until my teacher told us about it and I had no idea what to do so I gave it a try and so far I got all of them correct im not showing off or anything but im just saying but sorry if you thought that i was showing off

9/12/2016 7:56:34 PM

Sapphire

25 Answers

New Answer

+8

Помогите пожалуйста

+7

What is the result of this code? >>>7%(5//2) The answer is 1 but i am unable to understand how;if someone knows please help

+7

________________________________________________________________ 2**8 = 2*2*2*2*2*2*2*2 ________________________________________________________________ >>> 20 // 6 ( Because you can get 6+6+6 in 20 ) Result 3 Example : >>> 80 // 8 ( 10+10+10+10+10+10+10+10 ) Result 10 ________________________________________________________________ >>> 1.25 % 0.5 ( 0.5 + 0.5 = 1 // Rest 0.25 ) Result 0.25 Example >>> 56 % 15 ( 1) 15+15+15=45 2)45+?=56 3) 56-45=11 ) Result 11 ________________________________________________________________ >>> 7 % (5 // 2) 1) calculate (5 // 2) ( How many 2 in 5 ? Result is X ) 2) calculate 7 % ( X ) ( How many ( X ) in 7 ? And how many rest ? ) Result ! ________________________________________________________________

+4

see bro in 5 the number 2 is divisible 2 times so (5//2)=2, and 7%2 is when you divide 7 by 2 you get the remainder as 1

+3

David Alvarez Varela You probably thought about: 0.01 , --> .

+2

2*2*2*2*2=32

+2

1+5+7+3.24=16.24

+1

+1

Can someone please explain me the modulo operators and floor division?? Please

+1

Floor division is used through two forward slashes // in python to getting quotient and modulo % used for getting remainder in python.

+1

+1

+1

2**2 >> 2*2*2*2*2 = 32

+1

Can anyone please explain difference b/w single forward slash and double forward slash in python both are used for getting quotient 😬?

+1

Because if u divide 2 times 5//2 then one times it come 2.5 and second 2.5/2 =1.5 mean 1 because it is integer dividation and now know 1 seven ja 7 mean 7/1 =7 so answer is one 🤦😁very hard

+1

print ( 0,01 * (2**30)) Error sintaxis???? Alguien q me explique el problema anterior????

0

Berdibek uulu Beksultan как я могу вам помочь ?

0

0

Please someone should explain >>>9**(1/2)= 3.0 to me. I don't understand

0

Izhaan floor division is using 2 forward slashes. You see if you did 1 forward slash you get a float as a output but if you do 2 forward slashes it makes a integer. Hope this helped