Header Ads

Header ADS

Namta Lakhar Program(Python)

By using this Python program you are free to mugup any of yor namta..... You just need to run this and your device will automatically do it for you....

This similar C program is available here.....

Here is the code:

while True:
    print("Kon ghorer namta print korte chau?")
    w = int(input())

    print("Kotha theke suru korbo ?    ")
    s = int(input())

    print("Kon porjonto?   ")
    l = int(input())

    result = ["{} X {} = {}".format(w, i, w*i) for i in range(s, l+1)]

    for i in result:
        print(i)
    if input("Do you want to exit? (y/n)").lower() == "y":
        break

Reasult is here:



No comments

Powered by Blogger.