Phrase help me variable a is consider like string | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Phrase help me variable a is consider like string

a=input(int()) if a > 10 : print('tu peux mieux faire') else: print('tu vise loin et cest bien')

21st Sep 2020, 11:38 PM
Isidore
Isidore - avatar
2 Réponses
+ 1
Isidore a=input() is a string a=int(input()) is a number in the code below you want to use a = int(input()) if a > 10 : print('tu peux mieux faire') else: print('tu vise loin et cest bien')
22nd Sep 2020, 12:10 AM
BroFar
BroFar - avatar
+ 1
Thanks its work
22nd Sep 2020, 12:12 AM
Isidore
Isidore - avatar