Write a python function to Check if a given string is binary string or not
Topic: Write a python function to Check if a given string is binary string or not
Solution
def check(string) : s = {'0', '1'} if s == p or p == {'0'} or p == {'1'}: return True else : return False
List all Python Programs