+ 1

Could you tell me how can I use input method in Python?

I wanna use two arguments with input structure.

25th Oct 2018, 7:42 AM
Shakhehsarearezoo
Shakhehsarearezoo - avatar
5 Answers
+ 3
INPUT METHOD: >input for strings : a=input () >integer input: a=int(input()) comment if you have any query...
25th Oct 2018, 8:30 AM
Vashishtha Upadhyay
Vashishtha Upadhyay - avatar
+ 3
Add in the beginning of the code something like that a = int(input("a")) b = int(input("b")) Remember that when you want to use one of the arguments in this code you have to change letters in it or do something like that a = i The second argument - b - you add in the place where you wrote 99
25th Oct 2018, 9:38 AM
MaƂgorzata
MaƂgorzata - avatar
+ 1
i wanna get two arguments from user and then convert them to integer and then run my program .because of that i should learn input method or correct form of use this.
25th Oct 2018, 8:02 AM
Shakhehsarearezoo
Shakhehsarearezoo - avatar
+ 1
i = 10 while i<99: i=i+1 if i %2 !=0: if i %3 !=0: if i %5 !=0: if i %7 !=0: print(i) in this code I wanna get the i and 99 or any digit , from user.but l couldn't.đŸ˜„
25th Oct 2018, 8:07 AM
Shakhehsarearezoo
Shakhehsarearezoo - avatar
+ 1
thanks.💝
25th Oct 2018, 2:05 PM
Shakhehsarearezoo
Shakhehsarearezoo - avatar