Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,208,523 members, 8,002,891 topics. Date: Thursday, 14 November 2024 at 08:09 PM |
Nairaland Forum / Science/Technology / Programming / Can Someone Help With This Python Problems (1277 Views)
Python Problems / Help With This Python Programming Assignment Please / ASK For Solutions On Your (php,css,c,c++,python) Problems Here (2) (3) (4)
Can Someone Help With This Python Problems by seunny4lif(m): 9:10pm On Aug 06, 2021 |
create a program called InandOut which analyses a building’s access logs identify. One type of Alarm arises when the log indicates an employee enters the building when already inside. A second type of Alarm arises when the log indicates an employee exits the building when not currently inside. You may assume the building is initially empty. Names of the staffs entry Mark entry Mark exit Mark entry Yemi exit James entry Funke exit Olla entry Matthew Mark entered Mark entered (ALARM) Mark exited entry entered James exited (ALARM) Funke entered Olla exited (ALARM) Matthew entered my solution for far import sys def main(): for line in sys.stdin: line = line.strip().split() if line[0] == "entry": print(line[1], "entered" ) else: print(line[1], "exited" ) if __name__ == "__main__": main() Someone help Modified Got it 1 Like |
Re: Can Someone Help With This Python Problems by seunny4lif(m): 9:58pm On Aug 06, 2021 |
Anyone please |
Re: Can Someone Help With This Python Problems by spartan117(m): 10:15pm On Aug 06, 2021 |
seunny4lif:Did you not see this thread? https://www.nairaland.com/6686529/post-python-programming-errors-here |
Re: Can Someone Help With This Python Problems by seunny4lif(m): 10:17pm On Aug 06, 2021 |
I don't understand you spartan117: |
Re: Can Someone Help With This Python Problems by spartan117(m): 11:04pm On Aug 06, 2021 |
seunny4lif:Ok |
Re: Can Someone Help With This Python Problems by seunny4lif(m): 11:12pm On Aug 06, 2021 |
Re: Can Someone Help With This Python Problems by rotimiland(m): 9:01am On Sep 10, 2021 |
Re: Can Someone Help With This Python Problems by seunny4lif(m): 9:12am On Sep 10, 2021 |
rotimiland:Sorry Hope no problem |
Re: Can Someone Help With This Python Problems by rotimiland(m): 1:23am On Sep 12, 2021 |
seunny4lif: No, just have one or two questions on settling in Germany or Begium. |
Re: Can Someone Help With This Python Problems by athant: 3:40am On Sep 12, 2021 |
Jjii |
Re: Can Someone Help With This Python Problems by seunny4lif(m): 9:26am On Sep 12, 2021 |
rotimiland:No wahala |
Re: Can Someone Help With This Python Problems by rotimiland(m): 6:23am On Sep 14, 2021 |
seunny4lif: rotimialert at yahoo.com |
Re: Can Someone Help With This Python Problems by seunny4lif(m): 7:01am On Sep 14, 2021 |
rotimiland:I don reply you |
(1) (Reply)
Data Structure And Algorithm With Php / I Am Paying For A Rare Fintech Idea / My New Forum Created
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10 |