Untitled

 avatar
unknown
python
10 months ago
290 B
17
Indexable
import random

randomNumber = random.randint(1, 100)

while True:
    guess = input("Deine Zahl: ")
    
    if (guess.isdigit()):
        print("Dein Code falls es eine Zahl ist wird ausgeführt")
        #Dein Code falls es eine Zahl ist
    
    else:
        print("Fehler, Keine Zahl")
Editor is loading...
Leave a Comment