Q&A Discussions

Printing pattern with Javascript
01javascriptjslooppatternprintrhythmvalue
0 Votes
1 Answers
16th Sep 2017, 4:03 PM
Dhaivat Soni
Dhaivat Soni - avatar
How can I get a precise 0.0 when using double/float?
0casedoublefloatIfjavaprecisionswitchvaluevariables
0 Votes
2 Answers
18th Nov 2016, 1:21 PM
Mitial W
Mitial W - avatar
In the continue Loop - i = 0 while True: i = i +1 if i == 2: print("Skipping 2") continue if i == 5: print("Breaking") break print(i) print("Finished") It shows the output being "1 Skipping 2 3 4 Breaking Finished" Why are the last three lines not "Breaking 5 Finished" Where it shows print(i) after break?
loopspython
1 Votes
3 Answers
3rd Oct 2016, 11:10 PM
Adam Atkinson
Adam Atkinson - avatar
in the LIMIT section it is said that the offset starts from 0 then why in this BETWEEN section rhe example is not like that...we are declaring from 3 to 7 and it is displaying from 3-7...as per said in the LIMIT it must have started from 4...can anyone explain this please???
sql
2 Votes
2 Answers
8th Aug 2016, 12:47 AM
Gadagoju Prudhvi
Gadagoju Prudhvi - avatar
i am not getting correct even odd numbers count from given range of numbers (range -5 to 7)...
(i%2)++1===00:1abb+1):countelse:eveneven_countforiifinint(input())oddodd_countprint(even_count)print(odd_count)range(a
0 Votes
3 Answers
23rd Feb 2021, 9:58 AM
anil jampani
anil jampani - avatar
< Previous1...1718Next >
Hot today
help me please
4 Votes
What's the mistake
0 Votes
How to output only even numbers? Given that x = 0 while x<=10: print(x) x+=1
0 Votes
Create HTML element using JS
0 Votes
Im New and i need Tips
0 Votes
I am doing a Beginner Java Course its not letting me move forword
1 Votes
Python time library
1 Votes
after three years I'm downloading this app again, I'm not sure what has changed. can you guys give me a short summary?
1 Votes
Helpe me!!
2 Votes
Guys i need help!How to build a border for my header tag?
2 Votes
Follow us on Linkedin
Check out our facebook
See what we tweet about
Join our instagram
Watch our Youtube
HomeProFAQContactBug Bounty ProgramCareersTerms of UsePrivacy PolicySololearn mobile
Made with
by  Sololearn | ©2023