Ihr Code funktioniert einwandfrei. Ich konnte die 4 Zahlen erraten und es hörte für mich richtig auf. Sieht aus, als hättest du das Programm richtig geschrieben, aber du kannst die Zahlen auch nicht erraten.
$ python foo.py
First >> 1
Second >> 2
Third >> 3
Fourth >> 4
*
First >> 5
Second >> 6
Third >> 7
Fourth >> 8
First >> 1
Second >> 1
Third >> 1
Fourth >> 1
**
First >> 2
Second >> 2
Third >> 2
Fourth >> 2
*
First >> 3
Second >> 3
Third >> 3
Fourth >> 3
First >> 4
Second >> 4
Third >> 4
Fourth >> 4
*
First >> 1
Second >> 1
Third >> 2
Fourth >> 4
**
First >> 1
Second >> 2
Third >> 1
Fourth >> 4
*
First >> 1
Second >> 1
Third >> 4
Fourth >> 2
*
First >> 4
Second >> 1
Third >> 1
Fourth >> 2
First >> 1
Second >> 4
Third >> 1
Fourth >> 2
**
First >> 1
Second >> 4
Third >> 2
Fourth >> 1
****
Was bedeutet "offen"? Starten Sie, als ob Sie es manuell gestartet haben? 'das Modul importieren? Warum ist der separate Ordner speziell so ein Problem? – deceze
Organisation ist wichtig. –
Das beantwortet keine meiner Fragen. – deceze