realpython / realpython/python-guide

Hotel reshipt

Đang mở
#1,163 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Batchfile
Star
29.8k
Fork
5.9k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

onechina = "!!ONE CHINA!!"

print("!!ONE CHINA!!".center(52))
class Address:
def init(self, name, street, city, state, pincode):
self.name = name
self.street = street
self.city = city
self.state = state
self.pincode = pincode

def display(self):
    print(f"{self.name}\n{self.street}\n{self.city}\n{self.state}\n{self.pincode}")

addr = Address("Vishnu Babalsure".center(51), "FC Road".center(51), "Pune".center(51), "Maharashtra".center(51) ,"411001".center(51))
addr.display()

ContactNo = "9503496775"
print("9503496775".center(50))

def print_line(length=50):
print("__"*length)

print_line(50)

name = "Nilesh"
print("name:", name)

print_line(50)

from datetime import datetime
cashier="biller"
print("cashier:",cashier)
billno=1
print("billno:",billno)
print(datetime.now().time())

print_line(50)

dis1={"chillichican:",350.0, "non vegntrian:",325.0}
print("item \t Qty \tprices")
def _print_line(length=50):
print("__"*length)
_print_line(80)
print("chillichican \t 1 \t 350.0")
print("non vegntrian\t 1\t 325.0")

print_line(50)
dis2={"container charge:",30.0,"CGST2.5%:",17.6,"SGST2.5%:",17.6}

print("totalQty:2\t 675.0")
print("container charge\t 30.0")
print("CGST2.5% \t 17.6")
print("SGST2.5% \t 17.6")

print_line(50)

totalgrand = 675.0 + 30.0 + 17.6 + 17.6
print("totalgrand:", totalgrand)

print_line(50)

print("THANK YOU!&Visit Again".center(70))

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Issue chứa một script Python độc lập để in biên lai, nhưng không nêu tệp nào trong repository, bài kiểm thử hay thay đổi được yêu cầu. Hãy làm rõ với các maintainer về đóng góp dự kiến trước khi tìm một entry point hoặc xác định việc hoàn thành sẽ có nghĩa là gì.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
10/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.