What does a variable do in Python A stores data B draws pictures C plays sound, A stores data, Match this code: name = "Jordan" A variable B number C print, A variable, Which one is a string A "Pizza" B 7 C True, A "Pizza", Match the code to text: pet = "cat" A string B integer C float, A string, Which one is an integer A 7.5 B 7 C "7", B 7, Match the code: age = 12 A integer B string C boolean, A integer, Which one is a float A 7 B "7.5" C 7.5, C 7.5, Match the code: price = 2.5 A float B integer C string, A float, A boolean can be A True or False B words only C decimals only, A True or False, What does type(name) tell you A data kind B value size C line number, A data kind

Python variables and data types

bởi

Bảng xếp hạng

Phong cách trực quan

Tùy chọn

AI Enhanced: Hoạt động này chứa nội dung do AI tạo. Tìm hiểu thêm.

Chuyển đổi mẫu

Bạn có muốn khôi phục tự động lưu: không?