I'm using QPython3 on my Android, but I have no idea how to intent code.
I have tried using
d.startActivity('android.intent.action.MAIN')
But I might be implementing it wrong.
My code right now:
question = input("Say a number: ")
answer = int(questioned) % 2
a = 1
if int(answer) < 1:
d.startActivity('android.intent.action.MAIN'
print("even")
else
d.startActivity('android.intent.action.MAIN'
print("odd")
Error message:
line 5 d.startActivity('android.intent.action.MAIN' ^ IndentationError: expected an indented block 1|dreamlte:/ $
(The intents you see appeared when I but the code in Stack.)