I am making a line follower robot for my college course and I want to code it using python. However when I go onto the arduino sketch editor it automatically sets up the format for a C program. Can anyone please provide clear instructions as to how I can setup python to download to the arduino board?
You can't do that with the IDE as we know it from Arduino. Perhaps someone has created an equivalent python ide?
You can use MicroPython with some microcontrollers like ESP8266 but you won't be using the Arduino IDE, the Arduino libraries, Arduino example codes, etc. There are probably other forums where you will find people more knowledgeable about MicroPython, though I do remember someone sharing some good insights into it here a while back.
Do you already have hardware purchased for your robot? If so, what hardware?