Write a function to remove leading zeroes from an ip address.
import re
def removezero_ip(ip):
 string = re.sub('\.[0]*', '.', ip)
 return string

<s>[INST]<<SYS>>Given a task and its code, generate test cases for the code.<</SYS>>Write a function to remove leading zeroes from an ip address.
import re
def removezero_ip(ip):
 string = re.sub('\.[0]*', '.', ip)
 return string
[/INST]assert removezero_ip("216.08.094.196")==('216.8.94.196') 
assert removezero_ip("12.01.024")==('12.1.24') 
assert removezero_ip("216.08.094.0196")==('216.8.94.196') </s>