Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / lesson7_3

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit aaba3eb5 authored 2 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent a9e516d4 c200310l843p219a8870/wx032434
Show whitespace changes
Inline Side-by-side
Showing with 10 additions and 5 deletions
  • 1.py
  • diy3.py
1.py 0 → 100644
View file @ aaba3eb5
import random
key="信息加密好酷呀!"
str=random.choice(key)
print(str)
\ No newline at end of file
This diff is collapsed. Click to expand it.
diy3.py
View file @ aaba3eb5
message = "诺依,周末一起去看动漫展吧!"
length=len(message)+1
# 请使用索引的知识,取出message所有元素(不用遍历的方式)
i=0
for i in message:
print(i)
\ No newline at end of file
for i in range(length):
print(message[i])
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment