@coderash/

Scouts DM 3 Badge Work

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
print("To add a member use /add \nTo delete a member use /delete \nTo see view members use /view\n\n")
Members = ["John Doe", "Test Two", "Test 3"]

def run():
  command=input("SOUTING\//\<")
  def add():
    length=len(Members)
    add=input("Name:")
    Members.append(add)
    length=len(Members)
    last=length-1
    print(Members[last],"has been added.")
    run()
  if command=="/add":
    add()
  if command=="/view":
    print(len(Members))
    length=len(Members)
    while length >= 0:
      lengthb=length+1
      print(lengthb," ",Members[length])
      length=length-1
      if length == 0:
        run()
run()