#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ ENGG1811 Lecture 2 Purpose: This example is used to explore the if statement Program description: It asks the user for a floating point input. Determines whether the input is > 0 If yes, print a statement. """ # Ask the user to input a number x = float(input('Please input a number: ')) # Selection if x > 0: print('The number entered is positive') print('The cube of the input is ',x**3)