Posts

Showing posts from January, 2023

Python Programming

Image
  PRACTICAL-1 Aim : (A) Write a python program to test whether a passed letter is vowel or not. m=[ 'a' , 'e' , 'i' , 'o' , 'u' , 'A' , 'E' , 'I' , 'O' , 'U' ] l=input( "Enter the Alphabet= " ) if l in m:     print( "The alphabet is a Vowel." ) else :     print( "The alphabet is not a Vowel" ) Output: (B) Write a python program to find out the factorial of a number. def fact(n) :     if (n== 0 ) :         return 1     else :             return n * fact(n- 1 ) n=int(input( "Enter the number= " )) ans=fact(n) print( "the factorial of the number is:" ,ans) output: PRACTICAL-2 Aim: (A)Write a program to filter positive numbers from a list. a=list() b=list() n=int(input( "Enter the no. of Elements= " )) for i in range( 0 ,n):     el=int(input( "Enter the Elements= " ))     a.append(el) print(a) for i in a:     if i> 0 :

WEB-DESIGNING

Image
  HTML, CSS, JAVASCRIPT PRACTICAL-1 PRACTICAL-2 PRACTICAL-3 PRACTICAL-4 PRACTICAL-5A PRACTICAL-5B Practical-8 GOOGLE DRIVE LINK