mirror of
https://github.com/Fare-spec/cours.git
synced 2025-12-07 02:40:38 +00:00
Auto urgent commit.
This commit is contained in:
10
turing/mc.py
10
turing/mc.py
@@ -1,19 +1,21 @@
|
||||
import Tabidir, exemples
|
||||
import bitab as Tabidir
|
||||
import exemples
|
||||
class Configuration:
|
||||
def __init__(self, ruban,position, etat_courant):
|
||||
self.ruban = ruban
|
||||
self.position = position
|
||||
self.position = position:wq
|
||||
|
||||
self.etat_courant = etat_courant
|
||||
|
||||
def _str__(self):
|
||||
chaine = ' '
|
||||
chaine = chaine +(self.position-ruban.imin())*2*' '+self.etat_courant
|
||||
chaine = chaine + ' '+ (self.position+ruban.imin()*2*' '+ '|'+'\n')
|
||||
chaine = chaine+slef.ruban.__str__()
|
||||
chaine = chaine+self.ruban.__str__()
|
||||
return chaine
|
||||
|
||||
if __name__ == "__main__":
|
||||
ruban = Ta
|
||||
ruban = Tabidir
|
||||
|
||||
|
||||
class Machine:
|
||||
|
||||
Reference in New Issue
Block a user