0% found this document useful (0 votes)
13 views1 page

Cube of Any Number

The document contains a Python script that calculates the cube of a number. It includes a commented-out section for user input and an active section that takes a command-line argument to compute the cube. The result is then printed to the console.

Uploaded by

S N K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Cube of Any Number

The document contains a Python script that calculates the cube of a number. It includes a commented-out section for user input and an active section that takes a command-line argument to compute the cube. The result is then printed to the console.

Uploaded by

S N K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

#a = int(input("enter your number : "))

#number = a**3
#print("we are working on your 'number'.....please wait")
#print("please find your result :",number)

import sys as s
result = int(s.argv[1])
print("please find your result :",result**3)

You might also like