repl.it
@mishram1271/

PLAB-R4_Task2

Python

No description

fork
loading
Files
  • main.py
  • Task3.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
st = "1GOAL9"
l = len(st)
st1 = ""
for i in range(0,l):
  e = st[i]
  if (e >='a' and e<='z'):
    st1 = st1 + e
  if (e >='A' and e<='Z'):
    st1 = st1 + e + e
  if (e >='0' and e<='9'):
    st1 = st1 + "#"
print(st1)
Fetching token
?