Courses
Log in
Start Learning AI
Courses
Log in
Start Learning AI
Q&A Discussions
Search
Search
Ask a question
Ask a question
*When i=2 , j=0 what will be the output?*
c
cprogramming
help
output_tracing
0 Votes
2 Answers
4th Jan 2022, 5:26 PM
rrr783
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-logic
python
1 Vote
2 Answers
5th Nov 2016, 2:32 PM
Navaneetha Babu
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
Ask a question
Ask a question
Ask a question
Ask a question
Hot today
How many time I can use sololearn trial mode?
1 Votes
ĐŃОбĐșа ĐČ ĐżŃĐžĐ»ĐŸĐ¶Đ”ĐœĐžĐž Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Hello guys,
1 Votes
solo learn program issue - iPhone?
1 Votes
Sololearn course
1 Votes
Payment by account
0 Votes
Bug sur le deuxiĂšme cours de python
1 Votes