Sensor notice wall
My robot will start moving straight. It will continue freely without specifying any distance. When the sensor encounters the wall, the robot will turn right. After a short distance, he will turn right again. After continuing straight again, it will turn right again when it approaches the wall. How can I write this process as code? Python!