• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

*When i=2 , j=0 what will be the output?*
ccprogramminghelpoutput_tracing
0 Vote
2 Réponses
4th Jan 2022, 5:26 PM
rrr783
rrr783 - avatar
I need to find sum of series 1/2+1/4+1/8+.. n= int(raw_input("enter the limit") s=0 i=2 while(i<=n): x=float(1\i) s=s+x i=i+2 print s is this the correct program??
boolean-logicpython
1 Vote
2 Réponses
5th Nov 2016, 2:32 PM
Navaneetha Babu
Navaneetha Babu - avatar
I can't understand ..where to put open braces{ and closed braces in these given coding and why we put i=2 and at last i==num
learningc
0 Vote
1 Réponse
30th Nov 2021, 10:00 AM
MOHAN SHARMA
MOHAN SHARMA - avatar
Aujourd'hui en vedette
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
1 Votes
Solving coding challenges
2 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Advertising in Sololearn
1 Votes
Fill in the blank to declare a static variable.
0 Votes
RUST'S FUTURE
1 Votes
Question #2: "Please activate your account and keep learning to enable messaging. An email has been sent to you"
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes
Programming Language
0 Votes