my_str='_abc45'
print(my_str.isidentifier()) # Output is True
my_str='ab#cd'
print(my_str.isidentifier()) # Output is False ( # not allowed )
my_str='A_abc1234'
print(my_str.isidentifier()) # Output is True
my_str='pq?rs'
print(my_str.isidentifier()) # Output is False ( ? not allowed)
my_str='pq rs'
print(my_str.isidentifier()) # Output is False ( space not allowed)
my_str='12ab'
print(my_str.isidentifier())#Output is False( Can't start with number)