Here are some things I learned:
In Python you have to use print(item, end=””) in order for the output to be printed on the same line.
- c# needs to have the variable defined (e.g. as string or integer). In Python one uses “range” instead of the counting syntax.
- Repeating a string is done totally different in all languages. In PHP it can be done with str_repeat(). I like how in Python one can just do print(string * times).
- Python doesn’t use the new keyword for creating an object.
Of course, there are a lot more differences and similarities between the languages and sometimes it can take a bit of time to warm up when switching from another language.