Write a function to replace blank spaces with any character in a string.
def replace_blank(str1,char):
 str2 = str1.replace(' ', char)
 return str2
<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a function to replace blank spaces with any character in a string.
def replace_blank(str1,char):
 str2 = str1.replace(' ', char)
 return str2[/INST]assert replace_blank("hello people",'@')==("hello@people")
assert replace_blank("python program language",'$')==("python$program$language")
assert replace_blank("blank space","-")==("blank-space")</s>