82.3k views
21 votes
(Python) Write an expression that prints 'You must be rich!' if the variables young and famous are both True. Sample output with inputs: 'True' 'True' You must be rich!

User SwapsCAPS
by
5.2k points

1 Answer

2 votes

Answer:

young = True

famous = True

if young == True and famous == True:

print("You must be rich!")

Step-by-step explanation:

User Mohamed Naguib
by
4.6k points