
Le stringhe di Python
Flashcard
•
Computers
•
8th Grade
•
Practice Problem
•
Hard
Sandra Lorenzini
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Quale di queste è una stringa correttamente definita in Python? 'Ciao mondo', "Ciao mondo", Ciao mondo, Entrambe le risposte a e b
Back
Entrambe le risposte a e b
2.
FLASHCARD QUESTION
Front
È possibile usare le stringhe con tripli apici per definire stringhe su più righe?
Back
Vero
3.
FLASHCARD QUESTION
Front
Quale è il risultato dell'espressione 'Python' * 3?
Back
'PythonPythonPython'
4.
FLASHCARD QUESTION
Front
Come si definisce una stringa multilinea in Python?
Back
Utilizzando i tripli apici (''' o """)
5.
FLASHCARD QUESTION
Front
Quale di queste stringhe è correttamente formattata in Python? "f Il numero è {5}", 'Il numero è {5}', "Il numero è {5}", f"Il numero è {5}"
Back
f"Il numero è {5}"
6.
FLASHCARD QUESTION
Front
È possibile utilizzare i doppi apici per definire stringhe multilinea.
Back
Falso
7.
FLASHCARD QUESTION
Front
Esempio di stringa multilinea correttamente definita in Python?
Back
'''Ciao come va?''' (triple single quotes) is a correctly defined multiline string in Python.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?