Python Tutorial

Learn Python

Python is a high-level, object-oriented, structured programming language with complex semantics.The high-level data structures coupled with dynamic typing and dynamic linking render it very appealing for Rapid Application Development and for use as a scripting or glue language to link established components. Here you will get a complete tutorial in Python, with all the topics required.Let’s start our Python tutorial.

2 comments on “Python Tutorial”


  • TE Mechanical

    def make_amount(rupees_to_make,no_of_five,no_of_one):
    five_needed=0
    one_needed=0

    five = int(rupees_to_make/5)
    one_needed = rupees_to_make%5
    five_needed = five if five no_of_five):
    one_needed = rupees_to_make – 5 * no_of_five

    (print(“No. of Five needed : {}\nNo. of One needed : {}”.format(five_needed,one_needed))) if one_needed <= no_of_one else (print(-1))

    make_amount(28,8,5)