پاسخ ها ( ۲ )

  1. Number = int(input(“Please Enter any Number: “))
    Reverse = 0
    while(Number > 0):
    Reminder = Number %10
    Reverse = (Reverse *10) + Reminder
    Number = Number //10
    print(“nReverse of entered number is = %d” %Reverse)

  2. اگر خواستی بذارش while True

    num=int(input(“Enter number : “))
    print(num/(num*num))

ارسال یک پاسخ