博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
2018.5.55
阅读量:4167 次
发布时间:2019-05-26

本文共 378 字,大约阅读时间需要 1 分钟。

2018.5.55

# created by swy"""solutions to beginning python"""fridge = {
"Milk": "Thise milk", "Cheese": "Emmentaler", "Butter": "Unsalted butter"}food_sought = "Butter"for foodKey in fridge: print("\nlooking at : %s", foodKey) if foodKey == food_sought: print("key: %s \tValue: %s" % (foodKey, fridge[food_sought])) breakelse: print("it was not there")

在这里插入图片描述

转载地址:http://nhwai.baihongyu.com/

你可能感兴趣的文章
第六章SQL数据库开发--TSQL—储存过程
查看>>
第七章SQL数据库开发--TSQL—事务和锁
查看>>
sqlserver服务器常用的性能计数器
查看>>
SQL数据库开发—1TSQL—第八章视图
查看>>
SQL数据库管理—第二章数据库硬件性能
查看>>
SQL数据库管理—IO存储
查看>>
SQL数据库管理—第四章使用windows性能监控器监控数据库
查看>>
5.1 查找未使用的索引
查看>>
5.3 查找缺失的索引
查看>>
9.1 索引概述-1
查看>>
SQL数据库开发—TSQL—第九章索引2
查看>>
9.4.5 非聚集索引建立的原则和方法-指针
查看>>
索引3 -索引设计的最佳实践and 索引失效
查看>>
SQL数据库开发--TSQL—10第十章游标
查看>>
NSQL-MongoDB数据库简介
查看>>
linux系统管理—第一章安装redhat7进行初始化设置使用
查看>>
linux系统管理—第二章Linux帮助命令and查看Linux服务器基本情况
查看>>
linux系统管理第三章Linux文件目录管理
查看>>
嵌入式系统程序设计基础1
查看>>
MDK的安装及基本使用以及proteus的基本使用
查看>>