Functional While Loop

[Solved] Functional While Loop | Solidity - Code Explorer | yomemimo.com
Question : functional while loop

Answered by : chidera-ugochukwu

import random
coordonees = random.randint(0,100 )
i = 0
while(i < 5): tentative = int(input())-coordonees print(coordonees) if -10 <= tentative <= 0: print("bravo") pass i += 1
print("Bien joué")

Source : https://stackoverflow.com/questions/73692315/syntaxerror-with-and-in-python | Last Update : Mon, 19 Sep 22

Answers related to functional while loop

Code Explorer Popular Question For Solidity