palindrome tag

2 questions


1 answers
13 views
0
I would like to ask you an output question through Python txt file return.

In the txt file, mix the words that are Hoemun and the words that are not Hoemun, and separate the words with enter.abbagooloogsosoassaososbecamesmilimslevelmadammom...You read a text file in this way...

2 years ago

1 answers
14 views
0
I'm trying to find a number that's Python symmetrical

list1 = []for i in range(1,1001): str1 = str(i) for j in range(0,len(str1)): if str1[j] == str1[-1-j]: list1.append(i)print(list1)Like 12321, we try to find the same number in the middleSince it's s...

2 years ago

© 2024 OneMinuteCode. All rights reserved.