Skip to content
View efrerfe8ef8rerf's full-sized avatar

Block or report efrerfe8ef8rerf

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
efrerfe8ef8rerf/README.md

Create a program that checks if inputs have a valid command and string and translates it. You will receive n count of strings. For each string, check if it's valid. A string is valid when: • The command is surrounded by "!", starts with an uppercase letter, followed only by lowercase letters. • The command Is minimum 3 characters long • There is a colon after the command. • There is a string consisting of alphabetical letters between square brackets "[" and "]". • It must be minimum 8 characters long. Example for a valid string: "!Send!:[IvanisHere]" You must check if the string is valid and if it is - translates it. If it isn't - print the following message: "The message is invalid" Translating a string means taking all letters from the string and turn them into ASCII numbers. After successful translation, print it in the following format: "{command}:{number1} {number2} … {numberN}" Note: Translate only the text in the string. If you have "[Ivan is Here]", the part that you need to translate is "Ivan is Here". Input • On the first line, you will receive an integer n - the count of inputs. • On the next n lines - input that you must check if it has a valid string. Output • Print the result in format described above. in pyhthono

Popular repositories Loading

  1. gok gok Public

  2. gokk gokk Public

  3. gokkk gokkk Public

  4. efrerfe8ef8rerf efrerfe8ef8rerf Public

    Config files for my GitHub profile.

  5. gokgg gokgg Public

  6. Questions Questions Public

    Forked from OpenSourceHelpCommunity/Questions

    To add your question raise an issue in this repository.