GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Tynab/python-introductory: CyberSoft Data Analyst 08 - Python Introductory

BranchesTags
Open more actions menu

Latest commit

 

History

15 Commits
15 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
DA08_BaiTapNhapMon_An.ipynb
DA08_BaiTapNhapMon_An.ipynb
 
 
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

BÀI TẬP

  1. Viết hàm in lời chào mừng khách hàng như sau:
    1. Hàm nhận vào họ của khách hàng, tên đệm và tên gọi, danh xưng (Mr. hoặc Ms.). Lưu ý: họ, tên và tên đệm là 2 biến khác nhau.
    2. In ra lời chào với danh xưng và họ. Ví dụ: "Xin chào Mr. Nguyen"
    3. In ra câu thông báo: "Tên in trên vé của bạn là họ-và-tên". Ví dụ: "Tên in trên vé của bạn là Nguyen Van A”.
  2. Cũng với hàm trên, nhưng thêm vào biến global cho phép tăng số ghế của hành khách, bắt đầu từ 99. Ví dụ:
    1. Sau khi gọi hàm với khách hàng Nguyen Van A, in thêm câu: "Số ghế của bạn là 100".
    2. Tiếp tục gọi hàm với khách hàng Tran Van B, in thêm câu: "Số ghế của bạn là 101".
  3. Tiếp tục bổ sung hàm trên, nhận thêm thông tin về năm sinh của khách hàng. In ra tuổi của khách hàng. Ví dụ: "Bạn năm nay 20 tuổi" (khi nhận nam_sinh = 2002).

About

CyberSoft Data Analyst 08 - Python Introductory

Topics

age-calculatorbeginner-friendlybirth-yearclean-codecustomer-greetingdata-analyticsdatetimefunctionsglobal-variablesinput-validationjupyter-notebooklearning-pythonprogramming-exercisespythonpython-basicspython-exercisespython-introductoryseat-numberstring-processingvietnamese

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.