0% found this document useful (0 votes)
327 views

Programming With Python - Practical Book: Sybsc (It) Sem Iii

The document provides instructions for 4 Python programming exercises: 1) A program that asks for a user's name and age and prints the year they will turn 100. 2) A program that asks for a number and prints if it is even or odd. 3) A program to generate the Fibonacci series. 4) A function that reverses a user-defined value and prints it.

Uploaded by

Jayashree Borkar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
327 views

Programming With Python - Practical Book: Sybsc (It) Sem Iii

The document provides instructions for 4 Python programming exercises: 1) A program that asks for a user's name and age and prints the year they will turn 100. 2) A program that asks for a number and prints if it is even or odd. 3) A program to generate the Fibonacci series. 4) A function that reverses a user-defined value and prints it.

Uploaded by

Jayashree Borkar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Programming with Python

– practical book
SYBSC(IT) SEM III
JAYASHREE P BORKAR
PRACTICAL 1
a) Create a program that asks the user to enter their
name and their age. Print out a message addressed to
them that tells them the year that they will turn 100
years old.

OUTPUT
b) Enter the number from the user and depending on
whether the number is even or odd, print out an
appropriate message to the user.

OUTPUT
c) Write a program to generate the Fibonacci series.

OUTPUT
d) Write a function that reverses the user defined value.

OUTPUT

You might also like