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

Y 0 came in output as I >0

https://code.sololearn.com/cpOxD673e8fQ/?ref=app

@sololearn
23rd Sep 2022, 3:52 PM
chetan kumar
chetan kumar - avatar
1 Antwoord
0
It includes 0 as you decrease i before yield. Compare: i -= 1 yield i vs yield i i -= 1
23rd Sep 2022, 4:21 PM
Lisa
Lisa - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Debugging issue?
0 Votes
Text editor
0 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
how to view only application
0 Votes
Is anyone else having this issue?
2 Votes
I’m really confused
0 Votes
Subscription
0 Votes
Why do I suck at C# it‘s Hard but i know C# is Hard but tooooo much😭
0 Votes
Stream
0 Votes
Scraping
0 Votes