Skip to content
EspañolWorkspace →

PSeInt Escribir Sin Saltar: print without a new line

Like Escribir, but stays on the same line. Handy so the user's answer appears right next to the question.

Template
Escribir Sin Saltar
Open it in Codoritmo

Opens the editor with this example loaded. Run it step by step and watch the flowchart.

Worked example

A complete algorithm, ready to copy and run.

escribir-sin-saltar-same-line.psc · 4 lines
Algoritmo Example    Escribir "Hola " Sin Saltar    Escribir "mundo"FinAlgoritmo

Output

Shows on a single line: Hola mundo

This is what the console shows when the example runs.

Hola mundo

Good to know

Sin Saltar and Sin Bajar mean the same thing; use either.

In a flowchart

This is how it appears in a flowchart, with the same shapes Codoritmo draws.

Escribir "Hola " Sin Saltar
In the flowchart. Flowchart: a output parallelogram reading "Escribir "Hola " Sin Saltar", with one arrow in and one arrow out.
Draw the flowchart of your own algorithm →

Template

The general form. Replace what's inside < > with your own data.

Escribir Sin Saltar · 1 line
Escribir <expresion> Sin Bajar

Examples that use it

Programs from the example library where it appears, from the simplest to the most complete.

  • Fibonacci Sequence

    Prints the first terms of the Fibonacci sequence.

    Beginner
  • Guess the Number

    Guess a secret number from 1 to 100 in seven tries.

    Intermediate
  • Drawing Shapes

    Draws a square and a triangle with asterisks.

    Intermediate
  • Bubble Sort

    Sorts random numbers by swapping neighbors, and stops as soon as they're in order.

    Intermediate
  • Selection Sort

    Finds the smallest of the remaining numbers and puts it in its place.

    Intermediate
  • Insertion Sort

    Inserts each number among the sorted ones, like arranging cards in your hand.

    Intermediate
See every Input & output example →

More structures

Codoritmo is an independent, open-source project inspired by PSeInt and compatible with its syntax. It is not affiliated with the PSeInt project. Official PSeInt website.