ashjhjjshjf1271 ashjhjjshjf1271 31-05-2023 Computers and Technology contestada Rewrite the following program segment using a repeat structure rather than a while structure.Be sure the new version prints the same values as the original.Initialization:num=0while(num<50)if(num is Odd)print(num is Odd)num=num+1