# Nu Map from Imperative Languages
The idea behind this table is to help you understand how Nu built-ins and plugins relate to imperative languages. We've tried to produce a map of programming-relevant Nu commands and what their equivalents are in other languages. Contributions are welcome.
Note: this table assumes Nu 0.94 or later.
| Nushell | Python | Kotlin (Java) | C++ | Rust |
| -------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ----------------------------------------------------------- | --------------------------- | ---------------------------------------------------- |
| [`append`](/commands/docs/append.md) | `list.append`, `set.add` | `add` | `push_back`, `emplace_back` | `push`, `push_back` |
| [`math avg`](/commands/docs/math_avg.md) | `statistics.mean` | | | |
| [`math`](/commands/docs/math.md), [Math Operators](nushell_operator_map.md) | Math operators | Math operators | Math operators | Math operators |
| [`cp`](/commands/docs/cp.md) | `shutil.copy` | | | `fs::copy` |
| [`date`](/commands/docs/date.md) | `datetime.date.today` | `java.time.LocalDate.now` | | |
| [`drop`](/commands/docs/drop.md) | `list[:-3]` | | | |
| [`du`](/commands/docs/du.md), [`ls --du`](/commands/docs/ls.md) | `shutil.disk_usage` | | | |
| [`each`](/commands/docs/each.md)<br />[`for`](/commands/docs/for.md) | `for` | `for` | `for` | `for` |
| [`exit`](/commands/docs/exit.md) | `exit()` | `System.exit`, `kotlin.system.exitProcess` | `exit` | `exit` |
| [`http get`](/commands/docs/http_get.md) | `urllib.request.urlopen` | | | |