Kursy
Kursy
Kompilator kodu
Kompilator kodu
Dyskusja
Cennik
Zespoły
Zaloguj się
Zarejestruj się
Menu
Dyskusje Q&A
Szukaj
Szukaj
Zadaj pytanie
Zadaj pytanie
*When i=2 , j=0 what will be the output?*
c
cprogramming
help
output_tracing
0 głosów
2 odpowiedzi
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 Głos
2 odpowiedzi
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 głosów
1 Odpowiedź
30th Nov 2021, 10:00 AM
MOHAN SHARMA
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Zadaj pytanie
Popularne dzisiaj
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Quiz
0 Votes
Sockets, etc
0 Votes
Should i learn python more or HTML?
1 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Necesitó ayuda
1 Votes
C++ Vectors
0 Votes
Does solving a code coach actually give XPs?
2 Votes
A Little Question Here!
1 Votes
Code challenge
0 Votes