Stopwatch
[deleted]

This is a very simple stopwatch. Please tell me if there are any bugs or improvements.

You are viewing a single comment. View All
SixBeeps (2519)

@CodeABC123 Sure.

print("string1" + "string2")

will output something like:

string1string2

You can use this to combine strings or other things that can be converted to strings. For example,

fav = 7
print("My favorite number is " + str(fav))

will print out

My favorite number is 7

And, you can concatenate more than just two things at once as well:

name = "Six"
food = "potatoes"
print("My name is " + name + " and I like to eat " + food)

will give you

My name is Six and I like to eat potatoes