Update Session 3 - 12-05-2022.py

This commit is contained in:
Ray 2023-09-17 17:16:46 +10:00 committed by GitHub
parent 19a22e0189
commit 9233e7d640
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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)