Uploaded by Saleh Hasnat

Mat101 Assignment 1

advertisement
Course Title: Intermediate University Mathematics II
Course Code: MAT 101
Section: 13
Date: 25th September 2022
Submitted to:
Fauzia Hoque Shorna
Submitted by:
Saleh Hasnat
ID: 2130774
Sl No. 32
This is a python program of doing a times table. We are taking “m” as the fixed variable and “n” as the
changing variable and the outcome of these 2 input is the “y”. So the equation we get is
Y= M * N
By applying this equation, we did the times table where “m” ranges from 1 to 6 and “n” ranges from 1
to 15.
The code is written in a python compiler and after running the program we can find the above results.
The code is given below:
for m in range (1,6):
for n in range (1,15):
y=m*n
print(y)
Download