From e30a83b58f8f211ef68779c5879a47ed122f09ad Mon Sep 17 00:00:00 2001 From: sumit Date: Thu, 1 Oct 2020 00:50:52 +0530 Subject: [PATCH] Update condition_if_simple.py Can I do as this sir. I'm one of your student. --- condition_if_simple.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/condition_if_simple.py b/condition_if_simple.py index de2085e..da92cd6 100644 --- a/condition_if_simple.py +++ b/condition_if_simple.py @@ -1,10 +1,10 @@ def main(): - Age=input("enter your Age:") - if(int(Age)>18): + Age=int(input("enter your Age:")) + if(Age>18): print("welcome") -if __name__ == '__main__':main() \ No newline at end of file +if __name__ == '__main__':main()