jeudi 5 avril 2018

Input for function

Im trying to code in python a function that reacts to a input

example

Action = input("Input:")
function commands():
       if action == Commands:
         print("Commands so far")

but I don't know how to get the function to work. any help?

Aucun commentaire:

Enregistrer un commentaire