diff --git a/QuestionSets/PythonLanguage/BasicsAndArrays/a1.py b/QuestionSets/PythonLanguage/BasicsAndArrays/a1.py new file mode 100644 index 0000000..0c9346b --- /dev/null +++ b/QuestionSets/PythonLanguage/BasicsAndArrays/a1.py @@ -0,0 +1,4 @@ +for i in range(1001): + print(i) + + diff --git a/QuestionSets/PythonLanguage/BasicsAndArrays/a1.txt b/QuestionSets/PythonLanguage/BasicsAndArrays/a1.txt new file mode 100644 index 0000000..4d12494 --- /dev/null +++ b/QuestionSets/PythonLanguage/BasicsAndArrays/a1.txt @@ -0,0 +1,2 @@ +for i in range(1001): + print(i) \ No newline at end of file diff --git a/QuestionSets/PythonLanguage/BasicsAndArrays/a2.py b/QuestionSets/PythonLanguage/BasicsAndArrays/a2.py new file mode 100644 index 0000000..1d11c46 --- /dev/null +++ b/QuestionSets/PythonLanguage/BasicsAndArrays/a2.py @@ -0,0 +1,6 @@ +sumup = 0 +for i in range(1001): + sumup = sumup + i + print(sumup) + +#Took A little help from Rajat Varma diff --git a/QuestionSets/PythonLanguage/BasicsAndArrays/a2.txt b/QuestionSets/PythonLanguage/BasicsAndArrays/a2.txt new file mode 100644 index 0000000..1d11c46 --- /dev/null +++ b/QuestionSets/PythonLanguage/BasicsAndArrays/a2.txt @@ -0,0 +1,6 @@ +sumup = 0 +for i in range(1001): + sumup = sumup + i + print(sumup) + +#Took A little help from Rajat Varma diff --git a/QuestionSets/PythonLanguage/BasicsAndArrays/a3.py b/QuestionSets/PythonLanguage/BasicsAndArrays/a3.py new file mode 100644 index 0000000..7cdb23e --- /dev/null +++ b/QuestionSets/PythonLanguage/BasicsAndArrays/a3.py @@ -0,0 +1,7 @@ +import numpy as np +arrayA = np.arange(0,14) +arrayA +arrayB = arrayA.reshape(7,2) +arrayB + +#Made By 619 diff --git a/QuestionSets/PythonLanguage/BasicsAndArrays/a3.txt b/QuestionSets/PythonLanguage/BasicsAndArrays/a3.txt new file mode 100644 index 0000000..06b3b42 --- /dev/null +++ b/QuestionSets/PythonLanguage/BasicsAndArrays/a3.txt @@ -0,0 +1,7 @@ +import numpy as np +arrayA = np.arange(0,14) +arrayA +arrayB = arrayA.reshape(7,2) +arrayB + +#Made By 619 \ No newline at end of file