Курсы
ВойтиНачать изучение ИИ
Курсы
ВойтиНачать изучение ИИ
+ 2

Why this code is facing an infinite loop?

I am decreasing the value of the condition by dividing it by 2 so what is my logical mistake in this code? https://code.sololearn.com/cX3KZ26F4t8w/?ref=app

loopswhilelogickotlininfinte-loop
21st Dec 2019, 5:15 PM
Plaban Kr. Mondal
Plaban Kr. Mondal - avatar
1 ответ
0
Thanks.. got it!!
21st Dec 2019, 5:27 PM
Plaban Kr. Mondal
Plaban Kr. Mondal - avatar

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Sololearn course
1 Votes
solo learn program issue - iPhone?
1 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Best language?
0 Votes
Bug sur le deuxième cours de python
1 Votes
I am learning javascript intrmdt but when I play a code challenge. The app is givin me comlecated questions with less time.why?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes