Answers for "print with brackets python"

2

python program to print list without brackets

lst = [1,2,3,4,5]
print(*lst,end="")

#output
1 2 3 4 5
Posted by: Guest on April-05-2021
0

get string in brackets python

s = "alpha.Customer[cus_Y4o9qMEZAugtnW] ..."
m = re.search(r"[([A-Za-z0-9_]+)]", s)
print m.group(1)

> cus_Y4o9qMEZAugtnW
Posted by: Guest on October-01-2020

Code answers related to "print with brackets python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language