06. String Pureness
Здравейте,
имам следния проблем след като кача кода си в judge системата ми дава 83/100, не мога да разбера къде е проблема!
Условието на задачата е следното:
- String Pureness
You will be given number n. After that, you'll receive different strings n times. Your task is to check if the given strings are pure, meaning that they do NOT consist of any of the characters: comma ",", period ".", or underscore "_":
- If a string is pure, print "{string} is pure."
- Otherwise, print "{string} is not pure!"
| Input | Output | 
| 2 pure string not_pure_string | pure string is pure. not_pure_string is not pure! | 
| 3 SoftUni 12345 string.pureness | SoftUni is pure. 12345 is pure. string.pureness is not pure! | 
pastebin: https://pastebin.com/A5bLCpg7
Благодаря за изчерпателния отговор, относно променливите ще си взема бележка за в бъдеще.
Желая Ви здраве и успехи!