My code just stopped running it and even my teacher cant find a mistake.
I have been doing this code for school and ive ran it multiple times and solved every syntax error and undefined things. Its about calculating compound interest and the code runs till " Masukkan bilangan tahun yang dilaburkan" and it wont calculate the compound interest or the simple interest. Why does it stop? Nama = str(input(" Masukkan Nama: ")) P = int(input(" Masukkan Principal: ")) r = float(input(" Masukkan peratus faedah: ")) t = float(input(" Masukkan bilangan tahun yang dilaburkan: ")) n = int(input(t/12)) simple_interest = (P*r*t) Compound_interest= (P*(1+r/n)**(n)**(t)) print = (simple_interest) print = (Compound_interest)