1.#working on comparision operators print('enter 2 numbers') a=int(input()) b=int(input()) print (a<b) print (a>b) print (a<=b) print (a>=b) print (a==b) print (a!=b) output: enter 2 numbers 4 4 False False True True True False 2. #converting km to cm print('enter the km:') a=int(input()) a*=10**5 print('in cm:', a) output: enter the km:2 in cm: 200000
Pinned Loading
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.