From 63eb183d5a39af6096fc3c80ee2cc36d5f99c3c8 Mon Sep 17 00:00:00 2001 From: Teresa2000 <15129534+teresa200@user.noreply.gitee.com> Date: Fri, 22 Nov 2024 12:33:11 +0000 Subject: [PATCH 1/2] =?UTF-8?q?add=202023221402034-=E6=9C=B1=E9=9B=A8?= =?UTF-8?q?=E6=A1=90.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Teresa2000 <15129534+teresa200@user.noreply.gitee.com> --- ...4-\346\234\261\351\233\250\346\241\220.md" | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 "docs/2023221402034-\346\234\261\351\233\250\346\241\220.md" diff --git "a/docs/2023221402034-\346\234\261\351\233\250\346\241\220.md" "b/docs/2023221402034-\346\234\261\351\233\250\346\241\220.md" new file mode 100644 index 0000000..ba5d6da --- /dev/null +++ "b/docs/2023221402034-\346\234\261\351\233\250\346\241\220.md" @@ -0,0 +1,87 @@ +# Beginner's Tutorial on For Loops in Python + +- ****Objective**** + +Learn how to use for loops in programming. + +- ****What is a for Loop**** + +A for loop is a way to repeat a block of code a fixed number of times. + +- ****Basic Structure**** + +for (start; condition; increment) { + // Code to execute +} + +start: Sets the initial value. + +condition: Checks if the loop should continue. + +increment: Updates the value after each loop. + +- ****Example**** + +Let's say you want to print the numbers from 1 to 5. + +```python +for (int i = 1; i <= 5; i++) { + System.out.println(i); +} +``` + +Explanation: + +int i = 1; sets the initial value of i to 1. + +i <= 5; is the condition that keeps the loop running as long as i is less than or equal to 5. + +i++ increments i by 1 after each loop. + +System.out.println(i); prints the current value of i. + +- **Steps to create a For Loop** + + 1.Declare the Loop Variable: + + Choose a variable name (e.g., i). + + Set its initial value (e.g., int i = 1;). + + 2.Set the Condition: + + Determine the condition that will end the loop (e.g., i <= 5;). + + 3.Increment the Variable: + + Decide how to update the variable after each loop (e.g., i++). + + 4.Write the Code Block: + + Place the code you want to repeat inside the curly braces {}. + +- ****Example Use CAse**** + +Let's say you want to calculate the sum of the numbers from 1 to 10. + +```python +int sum = 0; +for (int i = 1; i <= 10; i++) { + sum += i; +} +System.out.println("Sum: " + sum); +``` + +Explanation: + +int sum = 0; initializes the sum variable to 0. + +The for loop runs from i = 1 to i = 10. + +sum += i; adds the current value of i to sum. + +After the loop completes, sum will be 55. + +****Conclusion**** + +For loops are a powerful tool for repeating code a fixed number of times. By following the basic structure and steps, you can create your own for loops to solve a variety of problems. -- Gitee From 3cfe9e3c9da0eccb13f85caf7e57202e22ad8d9a Mon Sep 17 00:00:00 2001 From: jenniferzly-0529 Date: Sat, 30 Nov 2024 09:08:10 +0000 Subject: [PATCH 2/2] final Signed-off-by: jenniferzly-0529 --- docs/2023221402030final.md | 89 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 docs/2023221402030final.md diff --git a/docs/2023221402030final.md b/docs/2023221402030final.md new file mode 100644 index 0000000..4302b6e --- /dev/null +++ b/docs/2023221402030final.md @@ -0,0 +1,89 @@ +# WeChat User Manual +## Table of Contents +### Introduction +### Getting Started +### Downloading and Installing WeChat +### Creating an Account +### Logging In +### Basic Features +### Chatting +### Voice and Video Calls +### Moments +### Discover +### Advanced Features +### WeChat Pay +### Mini Programs +### WeChat Work +### Settings and Customization +### Profile Settings +### Privacy Settings +### Notification Settings +### Troubleshooting +### Common Issues and Solutions +### Contacting Support +### Conclusion +## *1. Introduction* +### WeChat is a comprehensive social media and messaging app that offers a wide range of features, including text messaging, voice and video calls, social networking, and mobile payment services. This manual will guide you through the essential features and functionalities of WeChat. +## *2. Getting Started* +### *Downloading and Installing WeChat* +#### Android Users: Visit the Google Play Store and search for "WeChat". Tap "Install" to download and install the app. +#### iOS Users: Visit the Apple App Store and search for "WeChat". Tap "Get" to download and install the app. +### *Creating an Account* +#### Open the WeChat app. +#### Tap "Sign Up" or "Create New Account". +#### Enter your phone number and follow the on-screen instructions to verify your account. +#### Set up your profile by adding a profile picture and entering your name. +### *Logging In* +#### Open the WeChat app. +#### Enter your phone number and password. +#### Tap "Log In" to access your account. +## *3. Basic Features* +### *Chatting* +#### Tap the "Chats" tab at the bottom of the screen. +#### Tap the "+" button to start a new chat or select an existing chat. +#### Type your message and tap "Send". +#### Voice and Video Calls +#### Open a chat with the contact you want to call. +#### Tap the phone or video camera icon to initiate a call. +### *Moments* +#### Tap the "Moments" tab. +#### Tap the camera icon to post a new moment. +#### Add a photo, write a caption, and tap "Send". +### *Discover* +#### Tap the "Discover" tab. +#### Explore features like "Scan", "People Nearby", "Shake", and "Top Stories". +## *4. Advanced Features* +### *WeChat Pay* +#### Tap the "Me" tab. +#### Tap "Wallet" and follow the instructions to link your bank account. +#### Use WeChat Pay for transactions, transfers, and payments. +### *Mini Programs* +#### Tap the "Discover" tab. +#### Tap "Mini Programs" and search for the app you want to use. +#### Tap on the app to open and use it within WeChat. +### *WeChat Work* +### #Tap the "Me" tab. +#### Tap "WeChat Work" to access business-related features. +## *5. Settings and Customization* +### *Profile Settings* +#### Tap the "Me" tab. +#### Tap your profile picture to edit your profile. +### *Privacy Settings* +#### Tap the "Me" tab. +#### Tap "Settings" > "Privacy". +#### Adjust your privacy settings as needed. +### *Notification Settings* +#### Tap the "Me" tab. +#### Tap "Settings" > "New Message Notifications". +#### Customize your notification preferences. +## *6. Troubleshooting* +### *Common Issues and Solutions* +#### Cannot Log In: Ensure you have the correct phone number and password. If still unable, try resetting your password. +#### App Crashes: Restart the app. If the issue persists, restart your device. +#### Payment Issues: Ensure your bank account is linked correctly and has sufficient funds. +### *Contacting Support* +#### Tap the "Me" tab. +#### Tap "Settings" > "Help & Feedback". +##### Submit your issue and follow the instructions provided. +## *7. Conclusion* +### WeChat is a versatile app that combines social networking, messaging, and financial services. By following this manual, you should be able to navigate and utilize its features effectively. Enjoy your WeChat experience! \ No newline at end of file -- Gitee