SlideShare a Scribd company logo
1 of 2
Download to read offline
below is a worklog of forklists whose with IDs C123,D123, and T123.
the different activities are the following:
on route, in transit, is dormat, is loading and is unloading
write a python script that parses the file and identities all activity for D123 and organizes
the output chronologically.
the output should look like this:
Time l fork Lift ID l Activity
hint: use for loops and lists
here is sample dataset:
assume it is a text file
@2022-10-15 18:51 C123 is on route @2022-11-09 04:11 D123 is in_transit @2022-
07-27 02:09 D123 is dormant @2019-02-22 10:50 C123 is on route@ 2022-09-07 15:40
D123 is unloading @2022-02-20 13:12 T123 is loading @2022-01-24 15:32 D123 is
loading @2022-11-28 09:16 Z123 is loading
the different activities are the following:
on route, in transit, is dormat, is loading and is unloading
write a python script that parses the file and identities all activity for D123 and organizes the
output chronologically.
the output should look like this:
Time l fork Lift ID l Activity
hint: use for loops and lists
here is sample dataset:
assume it is a text file
@2022-10-15 18:51 C123 is on route @2022-11-09 04:11 D123 is in_transit @2022-
07-27 02:09 D123 is dormant @2019-02-22 10:50 C123 is on route@ 2022-09-07 15:40
D123 is unloading @2022-02-20 13:12 T123 is loading @2022-01-24 15:32 D123 is
loading @2022-11-28 09:16 Z123 is loading
below is a worklog of forklists whose with IDs C123-D123- and T123-the.pdf

More Related Content

More from armanuelraj

blank 1 market - accounting -replacement blank 2 net -free - operatin.pdf
blank 1 market - accounting -replacement blank 2  net -free - operatin.pdfblank 1 market - accounting -replacement blank 2  net -free - operatin.pdf
blank 1 market - accounting -replacement blank 2 net -free - operatin.pdf
armanuelraj
 
Bird field guides once listed the Asian and North American populations.pdf
Bird field guides once listed the Asian and North American populations.pdfBird field guides once listed the Asian and North American populations.pdf
Bird field guides once listed the Asian and North American populations.pdf
armanuelraj
 

More from armanuelraj (20)

Both roots of the quadratic equation x2+x+ can take all values from -1.pdf
Both roots of the quadratic equation x2+x+ can take all values from -1.pdfBoth roots of the quadratic equation x2+x+ can take all values from -1.pdf
Both roots of the quadratic equation x2+x+ can take all values from -1.pdf
 
Both eukaryotic and prokaryotic viruses have the essential function of.pdf
Both eukaryotic and prokaryotic viruses have the essential function of.pdfBoth eukaryotic and prokaryotic viruses have the essential function of.pdf
Both eukaryotic and prokaryotic viruses have the essential function of.pdf
 
BONUS (5 points) Write the equations for the standard error of ^j- Exp.pdf
BONUS (5 points) Write the equations for the standard error of ^j- Exp.pdfBONUS (5 points) Write the equations for the standard error of ^j- Exp.pdf
BONUS (5 points) Write the equations for the standard error of ^j- Exp.pdf
 
blank 1 market - accounting -replacement blank 2 net -free - operatin.pdf
blank 1 market - accounting -replacement blank 2  net -free - operatin.pdfblank 1 market - accounting -replacement blank 2  net -free - operatin.pdf
blank 1 market - accounting -replacement blank 2 net -free - operatin.pdf
 
Black body- vestigial wings and brown eyes are mutations in Drosophila.pdf
Black body- vestigial wings and brown eyes are mutations in Drosophila.pdfBlack body- vestigial wings and brown eyes are mutations in Drosophila.pdf
Black body- vestigial wings and brown eyes are mutations in Drosophila.pdf
 
Bob budgets $24 a week for entertainment- He splits his time between g.pdf
Bob budgets $24 a week for entertainment- He splits his time between g.pdfBob budgets $24 a week for entertainment- He splits his time between g.pdf
Bob budgets $24 a week for entertainment- He splits his time between g.pdf
 
BMI is the only factor used when determining the effect of fat on risk.pdf
BMI is the only factor used when determining the effect of fat on risk.pdfBMI is the only factor used when determining the effect of fat on risk.pdf
BMI is the only factor used when determining the effect of fat on risk.pdf
 
Blood will agglutinate and hemolyze if--- 1- If the recipient and dono.pdf
Blood will agglutinate and hemolyze if--- 1- If the recipient and dono.pdfBlood will agglutinate and hemolyze if--- 1- If the recipient and dono.pdf
Blood will agglutinate and hemolyze if--- 1- If the recipient and dono.pdf
 
Blood Tracings The drawings can be simple lines but should show locat.pdf
Blood Tracings  The drawings can be simple lines but should show locat.pdfBlood Tracings  The drawings can be simple lines but should show locat.pdf
Blood Tracings The drawings can be simple lines but should show locat.pdf
 
Blood is made up of two broad types of cells (red Blood Cells and whit.pdf
Blood is made up of two broad types of cells (red Blood Cells and whit.pdfBlood is made up of two broad types of cells (red Blood Cells and whit.pdf
Blood is made up of two broad types of cells (red Blood Cells and whit.pdf
 
Blockehain is being taiked about in almost every industry as a disrupt.pdf
Blockehain is being taiked about in almost every industry as a disrupt.pdfBlockehain is being taiked about in almost every industry as a disrupt.pdf
Blockehain is being taiked about in almost every industry as a disrupt.pdf
 
Blocking refers to the idea that the variability in a variable can be.pdf
Blocking refers to the idea that the variability in a variable can be.pdfBlocking refers to the idea that the variability in a variable can be.pdf
Blocking refers to the idea that the variability in a variable can be.pdf
 
Blockchain technology can be used to prevent any type of data breaches.pdf
Blockchain technology can be used to prevent any type of data breaches.pdfBlockchain technology can be used to prevent any type of data breaches.pdf
Blockchain technology can be used to prevent any type of data breaches.pdf
 
Block content from this web address 1- Recall that the shaded areas in.pdf
Block content from this web address 1- Recall that the shaded areas in.pdfBlock content from this web address 1- Recall that the shaded areas in.pdf
Block content from this web address 1- Recall that the shaded areas in.pdf
 
Bird field guides once listed the Asian and North American populations.pdf
Bird field guides once listed the Asian and North American populations.pdfBird field guides once listed the Asian and North American populations.pdf
Bird field guides once listed the Asian and North American populations.pdf
 
Black body and vestigial wings are mutations in Drosophila melanogaste.pdf
Black body and vestigial wings are mutations in Drosophila melanogaste.pdfBlack body and vestigial wings are mutations in Drosophila melanogaste.pdf
Black body and vestigial wings are mutations in Drosophila melanogaste.pdf
 
biomedical Ethics This view says that it is the responsibility.pdf
biomedical Ethics        This view says that it is the responsibility.pdfbiomedical Ethics        This view says that it is the responsibility.pdf
biomedical Ethics This view says that it is the responsibility.pdf
 
Bioprocessing a protein often involves growing cells in carefully cont.pdf
Bioprocessing a protein often involves growing cells in carefully cont.pdfBioprocessing a protein often involves growing cells in carefully cont.pdf
Bioprocessing a protein often involves growing cells in carefully cont.pdf
 
Bio22 Human Physiology - Cardiovascular- Heart and Blood Vessels Homew.pdf
Bio22 Human Physiology - Cardiovascular- Heart and Blood Vessels Homew.pdfBio22 Human Physiology - Cardiovascular- Heart and Blood Vessels Homew.pdf
Bio22 Human Physiology - Cardiovascular- Heart and Blood Vessels Homew.pdf
 
BIO 102 Lab- Human Histology 1) Fill out the following table regardin.pdf
BIO 102  Lab- Human Histology 1) Fill out the following table regardin.pdfBIO 102  Lab- Human Histology 1) Fill out the following table regardin.pdf
BIO 102 Lab- Human Histology 1) Fill out the following table regardin.pdf
 

Recently uploaded

會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 

Recently uploaded (20)

How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 

below is a worklog of forklists whose with IDs C123-D123- and T123-the.pdf

  • 1. below is a worklog of forklists whose with IDs C123,D123, and T123. the different activities are the following: on route, in transit, is dormat, is loading and is unloading write a python script that parses the file and identities all activity for D123 and organizes the output chronologically. the output should look like this: Time l fork Lift ID l Activity hint: use for loops and lists here is sample dataset: assume it is a text file @2022-10-15 18:51 C123 is on route @2022-11-09 04:11 D123 is in_transit @2022- 07-27 02:09 D123 is dormant @2019-02-22 10:50 C123 is on route@ 2022-09-07 15:40 D123 is unloading @2022-02-20 13:12 T123 is loading @2022-01-24 15:32 D123 is loading @2022-11-28 09:16 Z123 is loading the different activities are the following: on route, in transit, is dormat, is loading and is unloading write a python script that parses the file and identities all activity for D123 and organizes the output chronologically. the output should look like this: Time l fork Lift ID l Activity hint: use for loops and lists here is sample dataset: assume it is a text file @2022-10-15 18:51 C123 is on route @2022-11-09 04:11 D123 is in_transit @2022- 07-27 02:09 D123 is dormant @2019-02-22 10:50 C123 is on route@ 2022-09-07 15:40 D123 is unloading @2022-02-20 13:12 T123 is loading @2022-01-24 15:32 D123 is loading @2022-11-28 09:16 Z123 is loading