Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Runtime Python 3

0 votes
asked Apr 21, 2020 by Gamer0124 (120 points)
Sorry I am French :

Comment peut-on changer le maximum de temps pour le code Python ?

Script :

#!/bin/sh
import random
for i in range(100000):
    element = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
    passwd = "https://discord.gift/"
    for i in range(16): passwd = passwd + element[random.randint(0, len(element) - 1)]
    print(passwd)

J'aimerais un que la limite soit de plus d'une heure et que l'on puisse la choisir car cela me donne que 27806 lignes complètes au lieu de 100000

Merci Beaucoup

1 Answer

0 votes
answered Apr 22, 2020 by Manuel Mateo (1,190 points)
Pardon moi pour ma francais. Si tu veux changer le maximum de temps, tu dois changer le chiffre dans range(x). X dit a le programme que le programme dois faire quelque chose pour x temps.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...