Skip to content

Commit b189189

Browse files
authored
Update README.md
1 parent bffeaa0 commit b189189

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Language Comparison: Python vs Mojo
22

3-
Hey there! I am new to both Python and Mojo languages. In this repository, I went on a mission to explore and compare these two languages from scratch, knowing only the basics of programming
3+
Hey there! I am new to both Python and Mojo languages. In this repository, I went on a mission to explore and compare these two languages from scratch, knowing only the basics of programming (started with c++)
44

55
## Programs
66

@@ -31,3 +31,11 @@ The performance of both languages was benchmarked using Hyperfine. Programs were
3131
## Results
3232
..
3333

34+
## Comparing the advantages of both
35+
1: Python installation was much simpler compared to Mojo. Installing Mojo was not user-friendly; it would have been better if there was a one-click installation option for Mojo on Windows, similar to Python.
36+
37+
2: The syntax of Mojo and Python was quite similar, with the main difference being that in Mojo, you need to use Python functions by importing them. For example, to take user input, you have to import the "input" function from Python. This made Python easier to learn.
38+
39+
3: Mojo provided helpful explanations with each error, making it easier for me to understand and identify my mistakes. Python, on the other hand, lacked this feature, which is an advantage of Mojo.
40+
41+

0 commit comments

Comments
 (0)