DevJourney · code I wrote while learning
tuition-fees.py
120 Bn = int(input("Number of subjects: "))
cost = n * 500
print("Cost incurred for {0} subjects is Rs.{1}".format(n, cost))DevJourney · code I wrote while learning
n = int(input("Number of subjects: "))
cost = n * 500
print("Cost incurred for {0} subjects is Rs.{1}".format(n, cost))