当前位置:网站首页>数据类型的转换和条件控制语句
数据类型的转换和条件控制语句
2022-06-11 04:03:00 【小陈爱锻炼】
1.数据类型转换:
将浮点型,字符串转换成整型

将整数,字符串转成浮点型

将二进制,八进制,16进制转成10进制

将10进制转换成,二进制,八进制,16进制

将字符串转换为字节

将字节转换成字符串

将ascii码转换为字符串

将字符串转换成ascii码

2.条件控制语句
A: 86-100, B: 71-85, C: 61-70, D: 0-60
输入一个成绩打印出成绩的等级(要求使用if ... elif)

边栏推荐
- Final review of software engineering notes (short answer)
- 2022 love analysis · privacy computing vendor panoramic report | love Analysis Report
- 三层带防护内网红队靶场
- SQL注入关联分析
- 2022爱分析· 隐私计算厂商全景报告 | 爱分析报告
- Cloud broadcast alert, guanghetong helps intelligent camera to build a "river protection" drowning prevention system
- 给你一个项目,你将如何开展性能测试工作?
- Samsung Galaxy S21 ultra and Apple iPhone 13 Pro Max: which one should you choose
- [network] socket programming
- Vulkan-官方示例解读-RayTracing
猜你喜欢

June 10, 2022: Captain Shu crosses a sweet potato field from north to South (m long from north to South and N wide from east to West). The sweet potato field is divided into 1x1 squares. He can start

A Security Analysis Of Browser Extensions

Source Insight 4.0设置注释与反注释的快捷键

Google 有哪些牛逼的开源项目?

Pictures that make people feel calm and warm

7. list label

Evil CSRF

This artifact is highly recommended. One line command will convert the web page to PDF!

Management system of College Students' associations based on SSM

Guanghetong won the "science and Technology Collaboration Award" of Hello travel, driving two rounds of green industries to embrace digital intelligence transformation
随机推荐
B - 刷墙 (C语言)
Vulkan-官方示例解读-RayTracingShadows&在这里边使用模型(1)
你知道MallBook分账与银行分账的区别吗?
Detailed explanation of network time synchronization (NTP network timing) of video monitoring system
[pan micro E9 development] single sign on Kingdee eas
Market prospect analysis and Research Report of denitrification unit in 2022
Construction of esp8266/esp32 development environment
Protection and bypass of repeated contracting
Market prospect analysis and Research Report of welding laser in 2022
[signalr complete series] Net6 Zhongshi signalr communication
Exploitation and utilization of clickjacking vulnerability
A - Eddy's AC puzzle (C language)
Go failing - expected ‘package‘, found ‘EOF‘
Linq. pdf
App live broadcast source code, platform login page and password modification page
Why does the hospital comprehensive security system synchronize the NTP clock of the network server?
华生·K的秘密日记
d结构用作多维数组的索引
[cnn]| translation invariance
Feature selection algorithm based on bare bones particleswarm optimization