I didnât understand this.You mean that if we have excludeCharacter like this : âStringâ
So the password canât contain S and t and r and i and n and g ! That means that it canât be like that : hSjig6t)rfdn ?
Or, the password canât contain the word String with all of itâs letter in a consecutive order.That means that it canât be like that String89u798{ ?
BTW, that means that the app may crash too because many characters may be removed.So the limit maybe 70 sometimes for example and 13 Sometimes?
I believe the same, it depends on the numbers of characters that will be removed
Correct. Every character in exclude
input must not appear.
Btw, please expect all character in exclude input must be in the range I have given.
No need to catch error in that case
You mean those:
Or you mean the range of 77 letters. my procedure was getting the max limit according to the exclude letters length.So it has no errors
Here is my procedure.it has no errors because it get the limit by subtracting the length of the letters that will be excluded.3 blocks can be reduced by setting the limit to a static number which is 77 ( if you want i can remove them ).But the app will crash for the large numbers.That doesnât happen in this procedure.:
But unfortunately,It has 51 blocks
Also another 3 blocks can be reduced by making the Exclude character input as a list.And not converting it.
Great, letâs wait for others
Here is my try
Saw this just now :
Here is an updated one:
@Ansh_Anand, you solution doesnât work with exclude input, so @Mohamed_Tamer wins!
Here is my own solution
Thanks very much iâm really happy because this is my first daily challenge that i win in BTW, congrats to @Ansh_Anand also.
Thanks
See here.:
I believe that my program does that
str input is excluded
Well it makes like this:
But it must do like this:
Oh I got it now. I thought we have to exclude only a character.
Once Again Congratulations @Mohamed_Tamer
Although it doesnât count as an entry but here is my updated code (after clearing a misunderstanding)
str is a string⌠for each item is for list
I forget that it is not python
Corrected
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.