While-loop Questions

Ad
Ad

Distribution of dice sums

I want to study the distributions of sums of dice, especially what happens when the number of dice increases and for that i know that i

Why can't I escape the while loop?

I am having trouble with this while loop because it is supposed to ask the user to enter as many artists as they want and to enter done when they
Ad

Password function with a while loop

Hello i have a code here where i have a while loop for a password function. the function is working i just can't end the loop when a correct

Game of 6 players

I want the user to choose two players from a menu of 6 players, these players will play a game of tennis. i tried making a menu with
Ad

Training while loop in Tensorflow

I've attempted converting a python-side training loop to tensorflow to (hypothetically) make the code run faster - not having to pass control over

if-else in do-while in c

I have tried to code a small calculator. the user has to decide whether he wants to add, subtract, multiplicate or divide two numbers. this is

What I have to change in cycles?

I want the word car to be written as many times as the number of letters of the word hello. word = str(input('enter something to

How can I jump to another loop?

I have a problem. i don't know how to jump to another loop. should i use 'continue' or 'break' in the current loop? (python3.x)
Ad

While loop still looping

I need to have 'f' or 'm' as input from the user. so there is my code : a = input("") while a != 'f' or a != 'm': a =
Ad

Python Selenium Do-While Loop

I am trying to complete a do-while loop with the below code. we are waiting for a report to process, and it only shows on the webpage once

I can't stop the loop in python

Here is my problem, i'm a beginner and i try to loop a "find and click" on a specific image ( the "non" button ), it works but the loop don't stop
Ad
Ad
Ad

End of do-while loop in C language

I'm new to the language c and here i have a code to add any number the user inputs using a do-while loop. for example if they type in 1,
Ad
Ad

Blog Categories

Ad