Embed presentation
Download to read offline







This Python code contains two short programs. The first program takes a user-input number and prints whether it is odd or even using the modulo operator. The second program prompts the user to input values for variables x and y, swaps the values using a temporary variable, and prints the new swapped values.






