AIARCHITECTUREE Telegram 1745
AIA
خروجی این کد پایتون:

x = False y = True z = False print(not x and (y or z and not y))
y = True
z = False

print(not x and (y or z and not y))

- عملگر not مقدار رو معکوس می‌کنه:

not x → not False → True


- ترتیب تقدم عملگرها در پایتون: not بیشترین اولویت رو داره، and بعد از اون اجرا می‌شه و or آخرین عملگریه که اجرا می‌شه.

y or (z and (not y))
مقدارگذاری:
- y = True
- z = False
- not y = not True = False


- z and not y → False and False → False
- y or False → True or False → True

ترکیب نهایی عبارت اصلی:

not x and (y or z and not y)

مقدارگذاری:
- not x → True
- (y or z and not y) → True
- True and True → True



tgoop.com/AIArchitecturee/1745
Create:
Last Update:

y = True
z = False

print(not x and (y or z and not y))

- عملگر not مقدار رو معکوس می‌کنه:

not x → not False → True


- ترتیب تقدم عملگرها در پایتون: not بیشترین اولویت رو داره، and بعد از اون اجرا می‌شه و or آخرین عملگریه که اجرا می‌شه.

y or (z and (not y))
مقدارگذاری:
- y = True
- z = False
- not y = not True = False


- z and not y → False and False → False
- y or False → True or False → True

ترکیب نهایی عبارت اصلی:

not x and (y or z and not y)

مقدارگذاری:
- not x → True
- (y or z and not y) → True
- True and True → True

BY AIA


Share with your friend now:
tgoop.com/AIArchitecturee/1745

View MORE
Open in Telegram


Telegram News

Date: |

Informative 5Telegram Channel avatar size/dimensions Telegram is a leading cloud-based instant messages platform. It became popular in recent years for its privacy, speed, voice and video quality, and other unmatched features over its main competitor Whatsapp. Click “Save” ; How to create a business channel on Telegram? (Tutorial)
from us


Telegram AIA
FROM American