Machine Learning
Machine Learning
Objective:
The purpose of this assignment is to enhance your proficiency in Python
programming through challenging tasks. You will develop skills in control flow
statements (if-elif-else), loops (for, while), nested loops, pattern programming, and
more. The assignment also focuses on handling infinite loops, understanding loop
control mechanisms (break, continue, pass), and using operators and escape
characters. Additionally, tasks will challenge your understanding of input/output
operations and type casting.
Task 5: Write a program that uses a nested loop to print a right-angled triangle
pattern of stars based on user input.
Task 6: Create a Python program that prints the following pattern using nested
loops:
1
12
123
1234
***
*****
*******
*********
*******
*****
***
121
12321
1234321
123454321
Submit Guidelines
● Execute the assignment in a jupyter notebook file and download it as pdf. Once
downloaded, zip the folder.