Qurak

Handle code symbolically

Flusso di lavoro 5 passi, eseguiti in ordine in una sola sessione. Ogni passo è stato eseguito sul motore e l'output qui sotto è ciò che ha prodotto.

Passo 1
Inactive[Join][{1}, Reverse[{2, 4, 3}]]
Output
Inactive[Join][{1}, {3, 4, 2}]
Passo 2
expr = Inactivate[Join[{1}, Reverse[{2, 4, 3}]]]
Output
Inactive[Join][{1}, Inactive[Reverse][{2, 4, 3}]]
Passo 3
expr//InputForm
Output
InputForm[Inactive[Join][{1}, Inactive[Reverse][{2, 4, 3}]]]
Passo 4
expr /. 1 -> 10
Output
Inactive[Join][{10}, Inactive[Reverse][{2, 4, 3}]]
Passo 5
Activate[expr /. 1 -> 10]
Output
{10, 3, 4, 2}

Funzioni usate

Ricette correlate

Tutte le ricette · Guida delle funzioni · Usa questo da un client MCP