Posts by MrX • 17 points
3 posts
-
-1
votes3
answers836
viewsQ: Lists count total amount and higher repeat
Hello, I would like to know how to count the number of items in an array, and also show the number that appears most. Example: given the vector [1,2,3,4,5,6,7,8,8] Are 10 elements 8(number with more…
-
1
votes2
answers174
viewsQ: Print reverse order
Given a number x, where 1000 x<10000, prints the number x with its digits in reverse order. For example: x = 2736, the answer will be 6372. x=float(input()) x=float(x) if (x >= 1000 and x <…
-
-4
votes1
answer142
viewsQ: Reverse order commands/upper/ switch
I am doing a job (Python 3) and need help to complete the codes. I need to know how I reverse the order, for example 2345 in and out of 5432. I also need to know how I leave only one uppercase…