You are on page 1of 20

COMPUTER

SCIENCE
WITH
PYTHON
PRACTICAL
FILE
SUBMITTED TO :Ms. Garima
SUBMITTED BY :DIKSHA CLASS-XII-B
Program-1
Output
PYTHON PROGRAMS
Program -1

Question 1- Write a program to sort the given list .


Answer-
Program-2
Output
Question 2- Write a Python program to count the
occurrences of each word in a given sentence.
Answer –
Program-3
Output
Question 3-Write a program to take a user input and
show the number of vowles in the string.
Answer-
Program-4
Output
Question 4-Write a program to take a user input
interchange the case for each character.
Answer-
Program-5
Output
Question 5-Write a program to take a user input and
make a tuple.
Answer-
Program-6
Output
Question 6-Write a program to show febonachi series
using def() .
Answer-
Program-7
Output
Question 7-Write a program to show is the number a
palindrome using def() .
Answer-
Program-8
Output
Question 8-Write a program to print/pick/roll a random
number , card or dice as the user inputs.
Answer-
Program-9
Output
Question 9-Write a program to show Today’s date in
DD/MM/YYYY system with current time using library .
Answer-

You might also like