DevJourney · code I wrote while learning

tuition-fees.py

120 B
n = int(input("Number of subjects: "))
cost = n * 500
print("Cost incurred for {0} subjects is Rs.{1}".format(n, cost))