Do not know how to add "Code Tags" or "Error Tags" to my submissions - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Forum & Off Topic (https://python-forum.io/forum-23.html) +--- Forum: Board (https://python-forum.io/forum-26.html) +--- Thread: Do not know how to add "Code Tags" or "Error Tags" to my submissions (/thread-2487.html) |
Do not know how to add "Code Tags" or "Error Tags" to my submissions - mattkrebs - Mar-21-2017 Is this how you add tags to code and error messages? def main(): print ("Guess a number between 1 and 100.") randomNumber = 35 found = False # flag variable to see # if they've guessed it while not found: userGuess = input("Your guess: ") if userGuess == randomNumber: print ("You got it!") found = True elif userGuess > randomNumber: print ("Guess lower!") else: print ("Guess higher!") main() If I am not adding code tags or error tags properly please let me know. Thanks. RE: Do not know how to add "Code Tags" or "Error Tags" to my submissions - Kebap - Mar-21-2017 Well done Matt, this is exactly it. RE: Do not know how to add "Code Tags" or "Error Tags" to my submissions - metulburr - Mar-21-2017 moved to board forum Yup that is it. Its just a way to format HTML but restrict users in what they can format. All the other tags are similar as well. |