@mishram1271/

PLAB-S7_Task2.1

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
def removeChar(st, ch):
  l = len(st)
  str1 = ""
  for i in range(0,l):
    e = st[i]
    if (e != ch):
      str1 = str1 + e
  return (str1)

removeChar ("hello", 'l')