Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python In Lunix
#1
Hello World!

I am in dire need of assistance on a current assignment in my IT class. We are using Linux terminals from our schools system to write code, and only two classes were dedicated to learning this in the year. Obviously I am struggling and cannot figure out how to even start. When it comes to the arguments, I believe I can handle it, however I am lacking the knowledge on where to begin and get rolling on the assignment, here is the HW description. 

Regular expression for user account analysis
Write a Python scripting that uses the regular expression to find out:
  • The user accounts that starts with exactly one “j”
  • The user accounts that starts with exactly two “j”s
  • The user accounts that have exactly 4 characters
  • The user accounts that only have English letters
  • The user accounts that are ended with numbers
  • The user accounts that start with “a” and involve one or more than one “b”s 
  • The user accounts that start with any capital letter
Thank you for all and any help!
Reply


Messages In This Thread
Python In Lunix - by Wizard - May-11-2017, 03:38 PM
RE: Python In Lunix - by nilamo - May-11-2017, 03:55 PM
RE: Python In Lunix - by Wizard - May-11-2017, 04:54 PM
RE: Python In Lunix - by nilamo - May-11-2017, 05:00 PM
RE: Python In Lunix - by Wizard - May-11-2017, 05:59 PM
RE: Python In Lunix - by wavic - May-11-2017, 07:52 PM
RE: Python In Lunix - by Wizard - May-11-2017, 09:07 PM
RE: Python In Lunix - by nilamo - May-11-2017, 09:15 PM
RE: Python In Lunix - by Ofnuts - May-12-2017, 09:52 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020