当前位置:网站首页>Number of special palindromes in basic exercise of test questions
Number of special palindromes in basic exercise of test questions
2022-06-13 02:07:00 【Jerry-hao】
a = int(input())
for i in range(10000,1000000):
#print(i)
i = str(i)
b = 0
#print(i)
#print(i[::-1])
if i == i[::-1]:
for j in i:
#print("j is:",j)
b+=int(j)
if(b==a):
print(i)
Ah ,,, Still trying to figure out how to split it , The position of the first half is arranged and combined , Worry to death ,wszz
边栏推荐
- In addition to the full screen without holes under the screen, the Red Devils 7 series also has these black technologies
- SQL Server 删除数据库所有表和所有存储过程
- 华为设备配置CE双归属
- 反爬虫策略(ip代理、设置随机休眠时间、哔哩哔哩视频信息爬取、真实URL的获取、特殊字符的处理、时间戳的处理、多线程处理)
- Leetcode daily question - 890 Find and replace mode
- Using atexit to realize automatic destruct of singleton mode
- Qt实现思维导图功能(二)
- [the 4th day of the 10 day smart lock project based on stm32f401ret6] what is interrupt, interrupt service function, system tick timer
- Configuring virtual private network FRR for Huawei equipment
- 回顾ITIL各版本历程,找到企业运维发展的关键点
猜你喜欢

Top level configuration + cooling black technology + cool appearance, the Red Devils 6S Pro is worthy of the flagship game of the year

一、搭建django自动化平台(实现一键执行sql)
![[work notes] the problem of high leakage current in standby mode of dw7888 motor driver chip](/img/d1/c4776e3db1b7560331fa569c40831a.jpg)
[work notes] the problem of high leakage current in standby mode of dw7888 motor driver chip
![[learning notes] xr872 GUI littlevgl 8.0 migration (display part)](/img/5e/fc8c3fe3029c36648fbc3f48bc0c2f.jpg)
[learning notes] xr872 GUI littlevgl 8.0 migration (display part)
![[open source] libinimini: a minimalist ini parsing library for single chip computers](/img/99/f2ded6c189bd45ea6c1e9f86fd64c1.jpg)
[open source] libinimini: a minimalist ini parsing library for single chip computers

General IP address, account and password of mobile IPv6 optical cat login, and mobile optical cat is in bridging mode

【Unity】打包WebGL项目遇到的问题及解决记录

Use mediapipe+opencv to make a simple virtual keyboard

如何解决通过new Date()获取时间写出数据库与当前时间相差8小时问题【亲测有效】

Qt实现思维导图功能(二)
随机推荐
js获取元素
Sensorless / inductive manufacturing of brushless motor drive board based on stm32
Sensor: MQ-5 gas module measures the gas value (code attached at the bottom)
C language complex type description
[unity] problems encountered in packaging webgl project and their solutions
Record: how to solve the problem of "the system cannot find the specified path" in the picture message uploaded by transferto() of multipartfile class [valid through personal test]
1、 Set up Django automation platform (realize one click SQL execution)
General IP address, account and password of mobile IPv6 optical cat login, and mobile optical cat is in bridging mode
Top level configuration + cooling black technology + cool appearance, the Red Devils 6S Pro is worthy of the flagship game of the year
Vscode configuration header file -- Take opencv and its own header file as an example
CXGRID keeps the original display position after refreshing the data
DFS and BFS to solve Treasure Island exploration
Restrict cell input type and display format in CXGRID control
万字讲清 synchronized 和 ReentrantLock 实现并发中的锁
[learning notes] xr872 GUI littlevgl 8.0 migration (display part)
Application and routine of C language typedef struct
PyFlink实现自定义SourceFunction
The commercial value of Kwai is being seen by more and more brands and businesses
传感器:MQ-5燃气模块测量燃气值(底部附代码)
Can't use typedef yet? C language typedef detailed usage summary, a solution to your confusion. (learning note 2 -- typedef setting alias)