Search Results
6/29/2025, 9:40:02 PM
>>105745953
You wouldn't write it like this in both languages.
python
for _ in range(3):
print("something")
bash
for _ in $(seq 3); do echo "something"; done
If I need to call programs installed on the system (like with seq in the example above), then I usually use bash. If I need data structures, e.g. a hash map, then I use Python.
You wouldn't write it like this in both languages.
python
for _ in range(3):
print("something")
bash
for _ in $(seq 3); do echo "something"; done
If I need to call programs installed on the system (like with seq in the example above), then I usually use bash. If I need data structures, e.g. a hash map, then I use Python.
Page 1