Coders Packet

Power Raised Upto 1,2,3,4 using Python

By SRIJAN MAJUMDAR

The project calculates the power of the user input integer up to 1,2,3,4 in the form of a tuple.

Tuple is one of the most widely used data structures for many applications as it is one of the immutable data types on account of the data elements that cannot change their value after their creation.t Tuples functionalities are somehow the same as lists, dictionary but the difference comes in that lists, and dictionaries are mutable data types whereas strings and tuples are immutable data types. The data elements will be stored in the tuple separated by the commas having opening and closing brackets. Below is the code of the required project. 

Tuple_Code

Here in the above, we take 5 input integers from the user, and according to that we calculate the powers up to 1,2,3,4, and stored them in the form of a tuple. The output of the above code is: 

Tuple_Output

 

 

 

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by SRIJAN MAJUMDAR (CoderSkilsm)

Download packets of source code on Coders Packet