52 playing cards (Python string replacement)

Input the letters a~d corresponding to the black, red, plum, and square suits of the playing cards + the numbers 1~13 corresponding to the points of the playing cards; output the playing card suits and points corresponding to the “letters + numbers” string. (This note is suitable for coders who are familiar with Python loops […]

python-matching continuous content based on keywords Ⅱ

Use PyQt5 to generate an executable small program: match the contents of the pos file between the start keyword and the end keyword, convert UTC time to GPS time, and clear the copied files generated in the process. pos file is as follows: % (x/y/z-ecef=WGS84,Q=1:fix,2:float,3:sbas,4:dgps,5:single,6:ppp,ns=# of satellites % GPST x-ecef(m) y-ecef(m) z-ecef(m) Q ns sdx(m) […]

Lenovo Xiaoxin Pro16 installs Ubuntu 20.04 dual system with detailed graphic records

Installation preparation 1. Download operating system image Just go to the Ubuntu official website and download the Ubuntu 20.04 desktop version. It is recommended to install the 20.04.6 version. You can also click here to download. 2. Create a USB boot disk First download rufus from the official website. Insert the USB flash drive, run […]

The SDK comes with test framework usage records (ADB&ADB SHELL, Monkey test, log capture, Automator tests, etc.)

Android SDK analysis Refer to this blog Android SDK analysis_android sdk res-CSDN blog ADB: Android Debug Bridge Understanding: As the name suggests, it serves as a “bridge” to connect computers and Android devices (or virtual machines), allowing users to directly transmit instructions/receive data to the device (virtual machine) through the computer without operating on the […]

Frog fun, it turns out that you can use fish-style crazy words to figure out the branch structure in 30 seconds! ! !

Fish-style crazy talk: This crazy talk is not that crazy talk, but it is an easy-to-understand vernacular that can be understood and summarized after completing the questions and practicing and typing the code. I will try my best to insert fish-style crazy talk after each concept. Help everyone understand. Maybe it’s not that rigorous. But […]

Java uses aspose-words to convert word to pdf, html, and pictures

Java word to html, picture 1. Download aspose-words-20.12-jdk17-crack.jar Resource link https://download.csdn.net/download/qq_43601009/88466502 This jar package is not included in the maven central warehouse, so download it manually and import it locally. 2. Put the jar package into the project Create the sibling directory lib of src and put the downloaded jar package under lib Many blogs […]

344. Reverse String 541. Reverse String II LCR 122. Path encryption 151. Reverse Words in a String LCR 182. Dynamic port

344. Reverse String Write a function that reverses a string. The input string is given as an array of characters s. You must do this by modifying the input array in-place with O(1) extra memory. cheat solution: class Solution: def reverseString(self, s: List[str]) -> None: “”” Do not return anything, modify s in-place instead. “”” […]