Abdur-rahmaanJ / Abdur-rahmaanJ/greenberry

Support for conditionals like "else if" and "else"

Đang mở
#60 10 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
53
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I tried the following in the IDE :
`if 2 = 2 : print yes`
`else print no`
And the output was :
`yes`
`no`
I think there should be an error message displayed for the use of "else".

Currently the code supports only "if" but not "else if" or "else". I think we should add these functionalities as well.

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.