Symbol used for concatenation, +, int(), ^, /, Needed to turn a number into a string for output, input(), print(), int(), str(), Needed to store input as a whole number, input(), print(), int(), str(), Will ask for and store input, input("Enter your name "), surname = input("Enter your name "), Will ask for and store a whole number, age = int(input("Enter your age: ")), age = input("Enter your age: "), Will display a message, print("Your surname is " George), print(Your surname is + surname), print("Your surname is " + surname), Will display a message including a number, print("Your age is " 14), print("Your age is " + str(age)), print(your age is + age)
0%
Python 2
Share
Share
Share
by
Gw09brucejennif
Edit Content
Print
Embed
More
Assignments
Leaderboard
Show more
Show less
This leaderboard is currently private. Click
Share
to make it public.
This leaderboard has been disabled by the resource owner.
This leaderboard is disabled as your options are different to the resource owner.
Revert Options
Airplane
is an open-ended template. It does not generate scores for a leaderboard.
Log in required
Visual style
Fonts
Subscription required
Options
Switch template
Show all
More formats will appear as you play the activity.
Open results
Copy link
QR code
Delete
Continue editing:
?