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

Q&A Discussions

*When i=2 , j=0 what will be the output?*
ccprogramminghelpoutput_tracing
0 Votes
2 Answers
4th Jan 2022, 5:26 PM
Rafid
Rafid - 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 Answers
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 Votes
1 Answer
30th Nov 2021, 10:00 AM
MOHAN SHARMA
MOHAN SHARMA - avatar
Hot today
Can I import any module in python in this app?
1 Votes
Loops and conditions
2 Votes
GitHub account connecting issue
3 Votes
Algorithm to create maze-like grid
2 Votes
photo upload issue in html code
0 Votes
Coding issue
2 Votes
app for lessons
1 Votes
AlguĂ©m PortuguĂȘs por aqui?
0 Votes
Any coding competitions?
1 Votes
I can't figure out how to use the getElementById code in JavaScript Code Playground, I've tried multiple times and watched YT
0 Votes