1) What command is used to assign a value to a variable in Python? a) = b) := c) <- d) => 2) What data type is used for storing floating-point numbers in Python? a) int b) float c) str d) bool 3) Which operator is used in R to assign a value to a variable? a) = b) : c) <- d) := 4) Which keyword is used to define a function in Python? a) def b) function c) func d) defining 5) Which command in R prints "x is greater than 5" if the variable x is greater than 5? a) print(x > 5) b) if (x > 5) { print("x is greater than 5") } c) if x > 5: print("x is greater than 5") d) output(x > 5)
0%
Introduction to Python and R - DIGIN PROJCT
แชร์
แชร์
แชร์
โดย
Diginprojekt
Informatyka
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
แบบทดสอบ
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม