0% found this document useful (0 votes)
3 views1 page

Python Unit5

The assignment focuses on fundamental concepts of Iterations and Strings in Python, referencing specific chapters from 'Think Python'. Students are required to write a program that displays their name and performs operations such as displaying a specified number of characters, counting vowels, and reversing the name. A technical explanation of the code and its output is also required, with a minimum word count of 200.

Uploaded by

stardecos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Python Unit5

The assignment focuses on fundamental concepts of Iterations and Strings in Python, referencing specific chapters from 'Think Python'. Students are required to write a program that displays their name and performs operations such as displaying a specified number of characters, counting vowels, and reversing the name. A technical explanation of the code and its output is also required, with a minimum word count of 200.

Uploaded by

stardecos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment Instructions:

In this unit, we explored the basic concepts of fundamental concepts of Iterations and Strings
in Python. Before completing this assignment, review the reading material listed below:

Think Python: How to think like a computer scientist Chapters 7 - Iterations (p. 63- 69)
Think Python: How to think like a computer scientist Chapters 8- Strings (p. 71- 79)
Please ensure that you review all examples presented in Chapters before you work on this
assignment.

Write program to display your name and perform following operations on it:
1.Display n characters from left. (Accept n as input from the user)
2.Count the number of vowels.
3.Reverse it.

The code and its output must be explained technically. The explanation can be provided
before or after the code, or in the form of comments within the code. The descriptive part of
your response must be at least 200 words.

Reference
Downey, A. (2015). Think Python: How to think like a computer scientist. [PDF].

You might also like