diff --git a/reshnashrestha.md b/reshnashrestha.md new file mode 100644 index 0000000..21873b3 --- /dev/null +++ b/reshnashrestha.md @@ -0,0 +1,20 @@ +# Computational PHY 505 Fall 2023 + +### Things that I would like to learn in this semester: +- Learn coding using languages like python and c++. +- Increase my familarity in programming tools like visual studio, git and github. +- Create git repository and learn to commit, pull request and merge code. +- Learn to work in group project using Google colab and IBM Quantum Computing. +- Write my own code for various tasks and understand the codes written by others. + + #### For example: + I would like to write a well formatted code in python for finding a factorial of a number. At least, I am trying as follows: + + ```python + +def factorial(n): + if n == 0: + return 1 + else: + return n * factorial(n - 1) +print(factorial(16)) diff --git a/reshnashrestha.py b/reshnashrestha.py new file mode 100644 index 0000000..69e6ea7 --- /dev/null +++ b/reshnashrestha.py @@ -0,0 +1 @@ +print("Hello Reshna! Let's learn programming in python!") \ No newline at end of file diff --git a/reshnashresthaFactorial.py b/reshnashresthaFactorial.py new file mode 100644 index 0000000..88bd1d6 --- /dev/null +++ b/reshnashresthaFactorial.py @@ -0,0 +1,6 @@ +def factorial(n): + if n == 0: + return 1 + else: + return n * factorial(n - 1) +print(factorial(16)) \ No newline at end of file