Posts

Showing posts from 2018
Image
EXAMPLE:-02 Check character is vowels or not Source-code: '''Check character is vowels or not ''' ch=input('Enter the character:') if(ch=='a' or ch=='e' or ch=='i' or ch=='o' or ch=='u' or ch=='A' or ch=='E' or ch=='O' or ch=='I' or ch=='U'):     print('Character is vowel') else:     print('character is not vowel') Output previous
Image
EXAMPLE:-01 AREA OF RECTANCLE Source code                                                                                    a=float(input("Enter length:="))                                                b=float(input("enter width:="))                                                 area=a*b                                print("Area:=",area)                          ...
CHAPTER 1 INTRODUCTION TO PYTHON ⇒     Python is object oriented ,high level ,dynamic and multipurpose  language. ⇒ Python supports multiple programming pattern including object   oriented programming ,imterprative and functional programming.                                  WHAT IS PYTHON ⇒   We don't need to use data types to declare variable because it is dynamically typical so we can write a=10 to declare on integer   value in a variable. ⇒ Python makes the development and debugging fast because there is no compitation step included in python.                                   SCOPE OF PYTHON ⇒  Console based application ⇒   GUI based application ⇒   Audio/Video band application ⇒   3D CAD application ...
Image
CHAPTER    3 HOW TO TAKE INPUT AT RUN TIME FROM THE USER ⇒ WE have predefined function to take run time input :input(). Example:                                                                                 a=int(input("Enter the value of a:"))  b=int(input("Enter the value of b:")) c=a+b                                                               print("Sum=",c)                                               Output:          ...
Image
CHAPTER 2 INSTALLATION OF PYTHON ⇒First of all go to  http://www.python.org/download   Now click "DOWNLOAD" and after complete download ,install it. previous_topic                                                                     next_page