Update Session 2 - 5-05-22.py

This commit is contained in:
Ray 2023-09-17 17:16:36 +10:00 committed by GitHub
parent a832ffb46e
commit 19a22e0189
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
# Keywords (Cannot use these within variables) # Keywords (Cannot use these within variables)
import keyword import keyword
print (keyword.kwlist) print (keyword.kwlist)
@ -44,4 +47,4 @@ print(NoOfItems)
num1=input("Enter a number between 1 and 100: ") num1=input("Enter a number between 1 and 100: ")
num2=input("Enter another number between 1 and 100: ") num2=input("Enter another number between 1 and 100: ")
print ("Number 1 + Number 2=", num1+num2) print ("Number 1 + Number 2=", num1+num2)