• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu

Q&A Discussions

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 Votes
2 Answers
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 Votes
1 Answer
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 Votes
2 Answers
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 Votes
2 Answers
29th Jul 2016, 7:22 PM
Rupam Das
Rupam Das - avatar
< Previous1...451452Next >
Hot today
Decorators in python.
2 Votes
How to install Bcrypt here
1 Votes
Codegames
1 Votes
عفاكم بغيت نسولكم كيفاش ندير كود ويكون صحيح؟
1 Votes
What is happening with sololearn
1 Votes
CAN I FOLLOW YOU🙏🙏!!!
2 Votes
Can sololearn have multiple inpus&outputs?
3 Votes
CAN ANYONE TELL ME WHAT TO LEARN NEXT AFTER ADVANCED PYTHON CONCEPTS
1 Votes
Programming language learning
0 Votes
How can I add images to my website
0 Votes