• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu

Q&A Discussies

*When i=2 , j=0 what will be the output?*
ccprogramminghelpoutput_tracing
0 Stemmen
2 Antwoorden
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 Stem
2 Antwoorden
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 Stemmen
1 Antwoord
30th Nov 2021, 10:00 AM
MOHAN SHARMA
MOHAN SHARMA - avatar
Populair vandaag
Guys I don't know anything about cooding who can help me pls
1 Votes
Decorators in python.
2 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
Salut tout le monde
1 Votes
Please click me
0 Votes
How can i isntall modules
1 Votes
Unity's loading time?
4 Votes