Question: Assign True to the variable has_dups if the string s1 has any duplicate character (that is if any character appears more than once) and False
Assign True to the variable has_dups if the string s1 has any duplicate character (that is if any character appears more than once) and False otherwise
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
