Articles & News Stories


of 2
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
  programming python is oop as well as pop programming language oop= object oriented programming langpop=procedural oriented programming langugae 1991 - 1) java oop platform independent community sun 2) python pop+oop platform indepenedent open source what is platform indeendet ?1 made 1 program compile -> run program i have compiled in window operating system i can run in linux,ios c++ window -> compiled -> run in linux,ios not possible window -> linux -code recompile -run window -> ios -code recompile -runc++,c platform depenedent platform check recompile codecompile once in any platform run anywhere run code we have 3 type of statements 1) sequancitial 2) conditional ifif...else if else nested elif 3) repeat or loops initilizationwhile(condition):increment or decrement #write a program to print 1 to 10 numberscount =1 #initwhile count<=10: print(count) count=count+11)Write a program to print factorial of 5 number (5*4*3*2*1 !)C=int(input( factorial Number ))fact=1while (C>=1): fact=(fact*C) C=C-1print(fact)2)write a program to give sum of 10 numbers entered by user  using loops 3)write a program to print table of 15 till 10 n=15for i in range(1,11): print (n*i)4)write a program to find compound interest P=float(input( Enter P => ))r=float(input( Enter Rate => ))n=float(input( Enter n => ))ci=P*((1+r/100)**n)print(ci)5)write a program to find reverse number of user entered number (no=513;rev=315)rev=0rem=0number=(int(input( Enter number )))while number>0: rem=number%10 rev=(rev*10)+rem number=number//10print(rev)6)write a program to check user entered number is armstrom or not no = 1535*5*5 + 3*3*3 + 1*1*1125 + 27+ 1153 write a program to check user entered number is palimdrom or not no=121 rev=121
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!