Fixed Loop - A section of program which iterates a set number of times, Conditional Loop - A section of program which loops until a condition is met, Selection - A program makes a decision on whether code should be executed based on a condition, Concatenation - The process of joining two strings together, Array - A data structure which can hold more than one value of a single data type, Logical Operators - Used to join two or more conditions together to form a complex conditional statement (AND, OR, NOT) , AND - Both conditions must be true for the entire statement to be true, OR - At least one of the conditions must be true for the entire statement to be true, NOT - If the statement is FALSE then TRUE will be returned, print() - The command used to display values, variable = input("Enter a name: ") - The command used to assign a string to an input value to a variable , variable = int(input("Enter age: ")) - The command used to assign an integer to an input value to a variable , variable = float(input("Enter score: ")) - The command used to assign an real value to an input value to a variable , for i in range(5): - The command used to begin a loop which will repeat 5 times, while number < 0: - This loop will repeat until a positive number is given, while number < 0 or number > 10: - this loop will repeat until a number between 1 and 10 is given,
0%
SDD - Matchup (Python)
แชร์
แชร์
แชร์
โดย
Gw22brysonscott
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
จับคู่
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม