Le stringhe di Python

Flashcard
•
Computers
•
8th Grade
•
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.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Introduction to Python

Flashcard
•
8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
10 questions
Programming Intro Python WPMS

Flashcard
•
9th Grade
10 questions
AI for Youth – Machine and Minds

Flashcard
•
8th Grade
9 questions
Filosofi Presocratici

Flashcard
•
7th Grade
10 questions
Python Basic

Flashcard
•
6th - 8th Grade
8 questions
Telling Time in Italian

Flashcard
•
6th - 8th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade