Answered step by step
Verified Expert Solution
Question
1 Approved Answer
want a python code for it. OD ILLUM) 16_07_2019/2.%20Python%20Mandatory%20Assignmentipynb 1 pirul upyter 2. Python Mandatory Assignment Last Checkpoint an hour ago (autosaved) Edit View Insert
want a python code for it.
OD ILLUM) 16_07_2019/2.%20Python%20Mandatory%20Assignmentipynb 1 pirul upyter 2. Python Mandatory Assignment Last Checkpoint an hour ago (autosaved) Edit View Insert Coll Komol Widgets Holo N Run Not Trusted Code Q3: Replace the digits in the string with # Consider a string that will have digits in that, we need to remove all the characters which are not digits and replace the digits with # Ex 1: A. 234 Ex 2: A = 32b3c4 EX 3: A = abc Ex 5: A 2a Sobc55612 Output: * Output: wa Output: (empty string) Output: www import re 2 #write your python code here 3 you can take the above example as sample input for our program to test # it should or for any general input try not to nard code for only oven input examples # you con frechange CLL the codes/tructure + Stringit behet out to your program def replace_2.girstString) site your com 21Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started