Lab 7 Flowchart .docx - Start 1 Import re sys,pyperclip specialnumberlist = NumberRegex = re.compile(r\\d\\d\\d\\d\\d\\d\\d\\d Northeastnumberlist = text =

# Lab 7 Flowchart .docx - Start 1 Import re sys,pyperclip...

• Lab Report
• 8

This preview shows page 1 - 5 out of 8 pages.

1 Start Import re, sys,pyperclip specialnumberlist = [] NumberRegex = re.compile(r'\d\d\d-\d\d-\d\d\d') Northeastnumberlist = [] text = str(pyperclip.paste()) Southeastnumberlist = [] number =NumberRegex.findall(text) Northnumberlist = [] print (number) Southnumberlist = [] 1 A
2 A Midwestnumberlist = [] Coderegex = re.compile(r’\d\d\d)-\d\d-\d\d\d’ Southwestnumberlist = [] Text2 =str(pyperclip.paste()) Northwestnumberlist = [] Code=coderegex.findall(text2) Westnumberlist = [] For I in range (len(number)): Temporarynumberlist= [] B 2
True False True False True False B Print(“special number found:”+num ber[i]) If int(code[i])<100: specialnumberlist = specialnumberlist + [number[i]] elIf int(code[i])<200: print ("Northeast Number found:" + number[i]) Northeastnumberlist = Northeastnumberlist + [number[i]] Elif int(code[i])<300: print ("Southeast Number found:" + number[i]) Northeastnumberlist = Northeastnumberlist + [number[i]] C
True False True False True False C print ("South Number found:" + number[i]) elIf int(code[i])<500: Southnumberlist = Southnumberlist + [number[i]] elif int(code[i])<600: print ("Midwest Number

#### You've reached the end of your free preview.

Want to read all 8 pages?

• Fall '08
• Staff

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern