I am a beginner in Python programming. Using Python3 for class.
The code I have is:
#!/usr/binpython3
import arduino
def loop():
contin = True
while contin:
userinput = input()
if userinput == "quit":
contin = False
else:
contin = True
I am stuck at the "userinput = input()" portion of my code. For some reason, my program would not ask user for the input. How can I fix this?
Thank you!
#!/usr/binpython3shoud be#!/usr/bin/python3. and do you ever call the functionloop()?