当前位置:网站首页>String length
String length
2022-06-29 02:18:00 【Long street 395】
describe
The user enters a string , The length of the program output string
Input format
Enter a string
Output format
An integer representing the length of a string
Example 1
Input :Hello world!
Output :12# The user enters a string , The length of the program output string
#len() Function can be used to get the length of a string
str = input()
n = len(str)
print(n)
# The program can be implemented in one statement
print(len(input()))
边栏推荐
猜你喜欢
![[redis] list type](/img/c7/adec2aaea50d69a0aed95bfe683b9e.png)
[redis] list type

2022.02.15

What is the Valentine's Day gift given by the operator to the product?

Configurable FFT system design based on risc-v SOC (1) Introduction

项目研发,有哪些好用的免费脑图工具软件

How to become a senior digital IC Design Engineer (4-3)

Tiflash compiler oriented automatic vectorization acceleration

SystemVerilog-结构体(一)

SystemVerilog structure (I)

How to become a senior digital IC Design Engineer (4-2) script: file read / write operation realized by Verilog HDL code
随机推荐
哪个证券公司最大最安全 哪家券商服务好
如何用项目甘特图,做好项目汇报
[learn FPGA programming from scratch -50]: Vision - how are chips made? The thirteen steps of chip manufacturing.
How to become a senior digital IC Design Engineer (5-1) theory: clock technology, reset Technology
e. Difference between target and e.currenttarget
Troubleshooting of pyinstaller failed to pack pikepdf
Written examination questions, answers and analysis of Digital IC design and FPGA design (2) 2021 Huawei Hisilicon (Part 1)
项目研发,有哪些好用的免费脑图工具软件
How to become a senior digital IC Design Engineer (4-3)
【Redis】SortedSet类型
Which brokerage is safer and more convenient to open an account for compass mobile stock?
微信运动自动点赞
Day10 enumeration class and annotation
Scala Foundation (3): Operators and Process Control
指南针手机股票开户哪个券商更安全更方便?
[redis] list type
HBuilder左侧工具栏不见了
为什么要在网站上安装SSL证书?
[redis] hash type
Smart world 2030