Để 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 Wayground
43 questions
Bài Quiz không có tiêu đề

Quiz
•
10th Grade - University
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
35 questions
Quiz về Hệ Điều Hành và Phần Mềm

Quiz
•
11th Grade - University
35 questions
công nghệ cuối kì 1

Quiz
•
11th Grade
39 questions
GDKT PL GK2

Quiz
•
11th Grade
40 questions
ÔN TẬP CUỐI HKII - GDCD 11 (1)

Quiz
•
11th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade