PATTERN PROGRAMS:
1.
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *
2.
*
**
***
****
*****
3.
11111
22222
33333
44444
55555
4.
1
22
333
4444
55555
5.
1
12
123
1234
12345
6.
*
**
***
****
*****
7.
1
21
321
4321
54321
MATPLOTLIB CHARTS:
1. Line Graph - in textbook.
2. Bar Chart:
Code:
Output:
3. Histogram:
Code:
Output:
4. Scatter Plot
Code:
Output:
5. Pie Chart:
Code:
Output:
SERIES PROGRAMS:
1.
2.
STRING PROGRAM:
1. Length of largest word in a string:
Example:
Input: This is an example
Output:7