Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
- 3

# "Fill in the blanks to answer "Welcome"

How the flying fish did we go from explaining not/else and or to filling in the blank for welclme? is it me or is this confusing and I have no clue what the answer would be...it's the 3rd question on Boolean Logic. Many Thanks, ~ Alexander

16th Aug 2016, 6:59 AM
Alexander
10 Réponses
+ 2
Fill in the blanks to take a name as input and output a Welcome message, containing the input? name = ("Welcome, "+ )
28th Sep 2022, 6:41 PM
Maria Victoria Monroy Ortega
0
27th Mar 2019, 1:34 PM
Liam Horton
0
28th Oct 2020, 1:30 PM
ansar 123
0
hi
16th Dec 2020, 10:02 AM
Abuhureyrah
0
age =15 money = 500 if age > 18 or money > 100: print("Welcome")
29th May 2021, 6:38 AM
Vraj Soni
- 1
Do you actually mean the second question in Boolean logic? It's just an example code and you have to make it work by filling the gaps. It's nothing deep. The first gap is "or" cause if it was "and", it wouldn't meet the conditions needed to print "welcome". The second gap is obviously "print", cause how else will you print "welcome"? :) The reason you have to enter "print" is to help you memorise the function even if it's from a previous lesson. Since it confused you, clearly it's a good question.
16th Aug 2016, 10:32 PM
Doc
- 1
23rd Jul 2020, 5:40 PM
Md Ashikur Rohman
- 1
20th May 2021, 10:04 AM