0
Listing python3
I want to make a list of all my friend name by absence number so when the absence is 1 it call for my friend with the absence number of 1 but i want to make the list is a string(my friend do not understand basic of coding) so they can't just change they're name from the list
12 ответов
+ 8
You can save the list in a seperate file.
+ 6
u could encrypt the names
+ 3
Gacha Dante
Rei - - >ier-->jds
+ 1
I don't really understand.
Can u give an example please?
0
Data = ["Danang","Adit Zandra","Rei","Andhira","Anggun","Nanu","Bagus","Bintang","Cathy","Felin","Faiz","Hamzah","Pipit","Amel","Kevin","Keyla","Sisil","Lala","Adi","Ferinur","Rasya","Noval","Fachri","Adit Pratama","Fadhil","Iqbal","Nabila","Nafisah","Najwa","Naura","Novita","Neta","Tristan","Aldo","Sera","Silvia","Sofi","Titan","Fahmi"]
i want the list not visible as a string or maybe hide the list
0
Oma Falk how???
0
Gacha Dante
Can you give an example of the output you are after?
0
Gacha Dante
Are you trying to create a function where your friends indicate if they are present, which creates a list of present friends from your list of total friends
0
Rik Wittkopp uhh no i want to make the code know that if my friend input they're absence number it will show they're name ex:
absence:1
==Name: Danang
Oma Falk i dont what it means by
Rei -->ier-->jds
all i know is that ier is reversed
0
Gacha Dante Ok buddy
Here is a little code which may help you develop something bigger.
I am using a while loop so your friends can input their status, which will create an updated list of Absent Friends.
This loop will terminate when 'exit' is entered.
I have used a dictionary to capture the names of friends and assigned them a 4 digit code (birthday)
When the birthday is entered, the name is indexed from the dictionary and appended to a list called Absent.
This list is then printed showing their names.
Remember, in Sololearn, all inputs must happen during the submit prompt.
https://code.sololearn.com/c8zVo0ZKEv5J/?ref=app
0
Didn't understand what u want
0
Wants to hide everyone in the list