Allmäna tester
This commit is contained in:
1 parent
b80d0e844a
commit
c73e48da9f
1 file changed
+2
-2
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
#Python is a dynamically typed language. Python uses values not variables :)
|
# Python is a dynamically typed language. Python uses values not variables :)
|
||||||
a = 100
|
a = 100
|
||||||
b = "foo"
|
b = "foo"
|
||||||
c = True
|
c = True
|
||||||
@@ -13,7 +13,7 @@ print(c)
|
|||||||
print(d)
|
print(d)
|
||||||
print(a+d)
|
print(a+d)
|
||||||
|
|
||||||
#bunch of different ways to concatenate different datatypes, format is recommended I believe
|
# Bunch of different ways to concatenate different datatypes, format is recommended I believe
|
||||||
print(str(a)+e)
|
print(str(a)+e)
|
||||||
print(a,e)
|
print(a,e)
|
||||||
print("Concatenate: {} {}".format(a,e))
|
print("Concatenate: {} {}".format(a,e))
|
||||||
|
|||||||
Reference in new issue
Block a user