Slip 15 Q 2
CODE :
def removeodd(string):
str2=''
for x in range(len(string)):
if x%2==0:
str2=str2+string[x]
return str2
str1=input('enter a string : ')
print('String after removing char : ',removeodd(str1))
Here u can get pune university TYBCA practical slips solutions easy and ready to use.(python , core java, ADV. java)
DOWNLOAD SLIP14Q2 /** * STEPS TO RUN CODE * Step 01 compile the code * Step 02 run the code * Step 03 give a file directory locatio...
No comments:
Post a Comment