Micelaneos Flashcards
Como se continúa en otra línea cuando el texto es muy largo?
\
Floor division
//
Reminder
%
7 al cuadrado
7**2
continue?
Skip the rest of the current iteration of the loop and continue with the next iteration of the loop (if there is a next iteration)
break
Skip the rest of the current iteration of the loop and break out of the loop altogether, skipping any later iteration, too
pass
Designate an ‘empty’ body for a control structure
Insert a tab into a string
“\t”
“1\t2” “1 2”
print a new line without printing anything else
print()
end = “ “
Crea un espacio y no pasa a la siguiente linea
print(mult, end = “ “)
end””
Include the text “” inside the print statement’s parentheses. For example, print(“Hello”, end = “”) will print the word “Hello” without starting a new line afterwards. So calling it twice would print “HelloHello” on one line instead of two lines.