mardi 12 janvier 2021

When I compile the Python code below, I get this msg [closed]

IndentationError: unindent does not match any outer indentation level at if line

def manage():
sp.call('cls',shell=True)
sel = input("1.Add Note\n2.Show Notes\n3.Get By Status\n4.Update\n5.Delete\n6.Exit\n\n")
    if sel=='1':
        sp.call('clear',shell=True)
        npm_ = str(input('npm: '))
        name = str(input('nama: '))
        phone = str(input('Kelas: '))
        add_data(npm_,nama,kelas)
        input("\n\npress enter to back:")

Aucun commentaire:

Enregistrer un commentaire