Qual é o modificador usado para preencher um número com zeros à esquerda?
Fundamentos em Python

Quiz
•
Computers
•
12th Grade
•
Hard
Carlos Weber
Used 2+ times
FREE Resource
52 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A) >
B) <
C) ^
D) #
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do código `print(f'{n1:0>10}')` se `n1 = 1`?
A) 0000000001
B) 1000000000
C) 0000000010
D) 0000000100
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do código `print(f'{n2:0>10}')` se `n2 = 1963`?
A) 0000001963
B) 1963000000
C) 0000196300
D) 0000019630
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do código `print(f'{n2:0>10.2f}')` se `n2 = 1963`?
A) 00001963.00
B) 1963.000000
C) 0000001963
D) 1963.00
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual caractere é usado para preencher um número com zeros à direita em uma string formatada?
A) >
B) <
C) ^
D) #
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do código: n1 = 1; print(f'{n1:0<10}')?
A) 0000000001
B) 1000000000
C) 0000000010
D) 0000000100
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do código: n2 = 1963; print(f'{n2:0<10}')?
A) 1963000000
B) 0000019630
C) 196300000
D) 0000196300
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
QUESTÕES INFORMÁTICA APLICADA

Quiz
•
2nd Grade - University
50 questions
UFCD 0775 - Administração de redes

Quiz
•
12th Grade
51 questions
TESTE 3TIG

Quiz
•
12th Grade - University
48 questions
Quiz 2ª parte jogo FPS

Quiz
•
12th Grade
50 questions
SAINS KOMPUTER TINGKATAN 4 BAB 1

Quiz
•
3rd Grade - University
50 questions
Redes de computadores - T1

Quiz
•
12th Grade
52 questions
Ulangkaji ASK Ting 2 Bab 3.1 Persekitaran Kod Arahan

Quiz
•
1st - 12th Grade
50 questions
TEST EXCEL

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University