Computer Science, asked by Anthaea, 5 hours ago

Solve the python program

Attachments:

Answers

Answered by gyaneshwarsingh882
0

Answer:

Explanation:

What is Python language?

Python is a widely used high-level, general-purpose, interpreted, dynamic programming language.

Answered by SparklingThunder
0

 \huge  \purple{ \underline{ \boxed{ \red{ \mathbb{ANSWER : }}}}}

 \red{ \sf{def \:  Last \_Digit(a) :  }}

 \red{ \textsf{ \:  \:  \:  \:  \: 	print("Last Digit of given number is ",a \%10)}}

 \red{ \textsf{a=int(input("Enter given number :"))}}

 \red{ \textsf{print("Given number is ",a)}}

 \red{ \textsf{Last\_Digit(a)}}

 \large \green{ \underline{ \underline{ \mathbb{KNOW  \: MORE :}}}}

 \large\orange{ \textsf{def}}

def is the keyword in python programming language used in the beginning of definition of the function . Function name is used to call anything which is defined in the definition of function.

 \large\orange{ \textsf{print}}

print is the keyword in python programming language . It print anything which is written within it .

 \large\orange{ \textsf{input}}

input takes the input from the user in the form of string .

 \large\orange{ \textsf{int}}

int converts the input into integer form .

 \large\orange{ \textsf{\%}}

It gives the remainder of division .

Similar questions