i need help.the 3d and 4th secret task are not accepted | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i need help.the 3d and 4th secret task are not accepted

for the last one

3rd Feb 2022, 7:24 AM
Marinos Lambrou
5 Answers
+ 2
Marinos Lambrou Why are you converting your integer into a string? Leave it as an integer so the code can assess the comparison operator
3rd Feb 2022, 7:35 AM
Rik Wittkopp
Rik Wittkopp - avatar
+ 1
Post your code
3rd Feb 2022, 7:30 AM
Adi Nath Bhawani
Adi Nath Bhawani - avatar
+ 1
thanks.it worked
3rd Feb 2022, 7:39 AM
Marinos Lambrou
0
(python for beginners)
3rd Feb 2022, 7:25 AM
Marinos Lambrou
0
age = int(input()) if (str(age)) >= ("18"): print ("Allowed") else: print ("Sorry")
3rd Feb 2022, 7:33 AM
Marinos Lambrou