Update Session 3 - 12-05-2022.py
This commit is contained in:
parent
19a22e0189
commit
9233e7d640
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright 2022, Rayyan Hodges, TAFE NSW
|
||||||
|
# rayyan.hodges@studytafensw.edu.au
|
||||||
|
|
||||||
#Example 1
|
#Example 1
|
||||||
x = 42 # is of type int
|
x = 42 # is of type int
|
||||||
y = "Rayyan" # y is type of string
|
y = "Rayyan" # y is type of string
|
||||||
|
@ -66,4 +69,4 @@ print("x != y is ", x != y)
|
||||||
print("x >= y is ", x >= y)
|
print("x >= y is ", x >= y)
|
||||||
|
|
||||||
#Check if x is less than or equal to y
|
#Check if x is less than or equal to y
|
||||||
print("x <= y is ", x <= y)
|
print("x <= y is ", x <= y)
|
||||||
|
|
Loading…
Reference in New Issue