16...
Die NOT-Spirale
Lösung 1
for i in 1...16 {
if !isBlocked {
moveForward()
} else {
turnLeft() }
}
toggleSwitch()
Ich habe einfach nur gegoogelt, ohne Kontext konnte ich nicht anders.
Lösung 1
for i in 1...16 {
if !isBlocked {
moveForward()
} else {
turnLeft() }
}
toggleSwitch()
Ich habe einfach nur gegoogelt, ohne Kontext konnte ich nicht anders.