Cursussen
InloggenBegin met het leren van AI
Cursussen
InloggenBegin met het leren van AI

Q&A Discussies

So i understand that x++ is changing the vafiable after it is used and ++x before. But in the example of x = 5 y = ++x Why does y not equal 6 when x gets changed before use.
c++operators
0 Stemmen
2 Antwoorden
16th Sep 2016, 3:41 PM
sam
I downloaded Eclipse IDE for java developers. Once I sawy friend making a calculator from net beans IDE , I am trying everything but i can't do in my Eclipse why is it so ?
eclipsejava
0 Stemmen
1 Antwoord
2nd Nov 2016, 12:59 PM
Aditya Kumar
Aditya Kumar - avatar
Output - Why is the output shown as "Enter a number: Enter another number: 42.0" Shouldn't the code be so that the inputted integers are shown in the output after each of the colons? if so how would you do this? Thanks! AT
pythontype-conversion
0 Stemmen
2 Antwoorden
11th Aug 2016, 6:45 AM
Andrew Turner
Andrew Turner - avatar
def add(x, y): return x + y def do_twice(func, x, y): return func(func(x, y), func(x, y)) a = 5 b = 10 print(do_twice(add, a, b)) Please explain step by step Which is caller here? Explain the 3rd and 4th line ? why in 4th line we write add(add(x,y),add(x,y)) which is function of 1st line ? how can we write function after return statement insted of (x+y+x+y )=30?
python
0 Stemmen
2 Antwoorden
29th Jul 2016, 7:22 PM
Rupam Das
Rupam Das - avatar
< Vorige1...451452Volgende >
Populair vandaag
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
Coding for Cybersecurity
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
Need help
1 Votes
Pointers in c#
1 Votes
Decorators in python.
2 Votes
Salut tout le monde
1 Votes
Please click me
0 Votes
How can i isntall modules
1 Votes