Answer to Question #348341 in Python for kavya

Question #348341

first place

the ouput should be single line containing the ones place of positive integer

input 1:25

ouput:5

input 2:200

output:0


1
Expert's answer
2022-06-06T08:57:20-0400
a = int(input('enter a number'))
b = a % 10
print(b)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS