Text (String) - A sequence of characters, like words or sentences, enclosed in quotes (e.g., "Hello, world!")., Variable - A storage location in a program that holds a value, such as a number or text., Assignment - Storing a value in a variable using = (e.g., name = "Alex")., Concatenation - Joining two or more pieces of text together (e.g., "Hello " + "World")., Input - Getting information from the user (e.g., input("What is your name?"))., Output - Displaying information on the screen (e.g., print("Welcome!"))., Data Type - The kind of value a variable holds (e.g., string for text, integer for whole numbers)., Integer (int) - A whole number (e.g., 10, -3, 42)., Float - A decimal number (e.g., 3.14, 0.5)., Boolean - A value that is either True or False., String Methods - Special functions that modify text, like .upper() (makes text uppercase) or .lower() (makes text lowercase)., Casting - Converting between data types, like changing a number to text using str(10).,
0%
Programming - working with text and variables
Share
Share
Share
by
Entrepreneurquizzes
Secondary
KS3
Computing
I-edit ang Content
I-Print kini
Embed
Uban pa
Assignments
Leaderboard
Show more
Show less
Kini nga leaderboard naka-pribado. Pag-klik sa
Share
aron himuon kini nga publiko.
Kini nga leaderboard gi-disable sa tag-iya sa resource.
Kini nga leaderboard gi-disable tungod ang imong mga kapilian lahi ra sa tag-iya sa resource.
I-revert ang mga Kapilian
Ang
Match up
usa ka open-ended nga template. Dili kini makamugna ug mga marka sa leaderboard.
Kinahanglan mag log in
Visual style
Fonts
Subscription required
Mga Option
I-switch ang template
Ipakita tanan
Daghang mga format ang mugawas samtang gidula nimo ang activity.
Open results
Copy link
QR code
Mag-delete
I-restore ang gi-autosave:
?