Để nhập giá trị cho biến số với kiểu dữ liệu số thực trong python, cách viết nào dưới đây là đúng:

10.gk2

Quiz
•
Other
•
11th Grade
•
Medium
QUỐC PHƯƠNG
Used 16+ times
FREE Resource
38 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a= float(input(‘ Nhập a:’).
a= input(float(‘ Nhập a:’).
a= float.input‘ Nhập a:’.
a== float(input(‘ Nhập a:’).
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa nào đưới đây để khai báo Hàm trong python:
input.
return.
Tất cả đều đúng.
def.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đáp án nào dưới đây đúng khi đặt tên cho phần tử của list trong python
a{i}
a(i)
a*i
a[i]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kiểu dữ liệu số thực trong python là
float
int
string
var
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương án nào sau đây không phải là 1 hàm trong Python?
def a(k):
return k+2
def a:
return k+2
def tong(x,y):
return x+y
def tich(x,y):
return x*y
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phương án biểu diễn k chia kết cho m trong Python là
k&m==0
k%m==0
m%k==0
m:k==0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đáp án nào dưới đây biểu diễn số chẵn trong python:
a%2!=0.
a%2=0.
a%2==0.
a%2<>0.
Create a free account and access millions of resources
Similar Resources on Quizizz
35 questions
Quiz về Hệ Điều Hành và Phần Mềm

Quiz
•
11th Grade - University
41 questions
kt phương linh

Quiz
•
11th Grade - University
40 questions
ĐỐ VUI ĐỂ HỌC KHỐI 12 (2022-2023)

Quiz
•
9th - 12th Grade
36 questions
ĐỀ ÔN TRẠNG NGUYÊN SỐ 1

Quiz
•
4th Grade - University
33 questions
among us

Quiz
•
1st Grade - Professio...
37 questions
dpdpdpdp

Quiz
•
10th Grade - University
40 questions
GDKTPL***

Quiz
•
9th - 12th Grade
40 questions
Công nghệ cuối kì 1

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade