Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want to make pythan code for this text file input these text file and then each word put in array[] and group that name
I want to make pythan code for this text file
input these text file and then each word put in array[]
and group that name
text file is
alice: alice users: alice, bob, charlie project1: alice, bob admins: root
for example alice is one group, so if i call alice, alice[0] is alice
and also if i call user, user[0] is alice, user[1] is bob, and user[2] is charlie,
others are also same with that we did
can you tell me how to make python code like that groups?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started