print() - A function that allows the program to display text to the user., input() - A function that allows the program to GET information from the user., variable - Like a box, it allows our programs to store information to use later in our programs., value - A single piece of data. Can be stored in a variable., string - A series of letters, numbers, or characters surrounded by quotation marks ".", statement - A single line of code that performs an action., assignment - The process of storing a value in a variable. favorite_number = "25", Integer - A whole number, Float - A number with a decimal point, Boolean - A data type that is True or False, Type Conversion (typecasting) - Coverting one data type into another, # Line Comment - Code line that is ignored by the computer. Used for notes to ourselves and other programmers., """ Header or Multi-Line Comments """ - Multiple Lines of text that are ignored by the computer. Used to e, Syntax - The spelling and grammar of a programming language., Line Break - A command in Python that simply means to press return and start a new line., Concatenation - Joining strings together with the + plus + symbol. ,
0%
Python Programming Basics
Kongsikan
Kongsikan
Kongsikan
oleh
U46520389
Edit Kandungan
Cetakan
Benamkan
Lebih lagi
Tugasan
Papan mata
Kad imbas
ialah templat terbuka. Ia tidak menjana skor untuk papan mata.
Log masuk diperlukan
Gaya visual
Fon
Langganan diperlukan
Pilihan
Tukar templat
Paparkan semua
Lebih banyak format akan muncul semasa anda memainkan aktiviti.
Buka keputusan
Salin pautan
Kod QR
Padam
Pulihkan autosimpan:
?