@@SelfStudyTutorials I have a question about a code. I wanted to write a code that will continue in a loop. Week_income=int(input(“Enter income:”) #if weekly income is less than 500 If(Week_income
Dear @Heartcheish1, I hope following code will be useful to you: ===== income = 0 tax_rate = float(input("Enter tax rate:")) while income != -1: income = float(input("Enter your income (-1 to exit): ")) if income
Hello @Girl Talk Stocks, There are multiple ways to add pause before your program ends. One of the way is to add following statement at the end of your python program: input("Press any key to stop") Try following program: #Sample Python program print ("Welcome to Self Study Tutorials") #This function will help you to take pause before program ends input("Press any key to stop execution")
You are welcome Andres Garcia. Happy to know that you enjoyed the Python Self Study Tutorials. Do share it with your friends for wider publicity of this useful tutorial.
I mean you could of just used , which would make a space, because the + and the " " Edit: I realized that you were probably using an older version of IDLE
Dear AFCF, Yes, at the time of preparation of this video, the available stable version of IDLE was 3.8.5; hence I used Python 3.8.5. As on March 2023, the latest available version of IDLE is 3.11.2.
i got this output Enter your name: k Traceback (most recent call last): File "C:\Users\odeha\Documents\test.py", line 2, in name = input("Enter your name: ") File "", line 1, in NameError: name 'k' is not defined >>> whats the problem??
Dear Raj, Follow these steps to debug program in IDLE. From Python's UDLE Menubar: Select Debug -> Debugger This will start debugger, and you can check your variable values during execution of your code.
Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. x=20 y=80 'z='x+y SyntaxError: invalid syntax i tried this in idle but i dont know why this is not working
Your reason of error is following line: 'z='x+y You should write it as under: z=x+y I hope this will solve your problem. Do let me know if you facing any further problem in this regard. With best wishes,
Dear Kartik, Here is the link to download: www.python.org/downloads/ Download required software version based on your operating system (Windows/MAC/Linux). With best wishes
Best explanation! Most RUclipsrs make long and complicated videos. Thanks for the vid.
Dear @Ricardo S,
Glad you liked it!
Enjoy Self Study Tutorials...
I just learned the most in 3 minutes than I have trying to read a tutorial on the site. Thanks..
Happy to know that it's useful to you.
@@SelfStudyTutorials I have a question about a code. I wanted to write a code that will continue in a loop. Week_income=int(input(“Enter income:”)
#if weekly income is less than 500
If(Week_income
Dear @Heartcheish1, I hope following code will be useful to you:
=====
income = 0
tax_rate = float(input("Enter tax rate:"))
while income != -1:
income = float(input("Enter your income (-1 to exit): "))
if income
Thank you so much omgggg I don't know why other youtube videos don't explain it like this
Happy to help!
Thank you so much, very concise info! Appreciate you
Glad it was helpful! Thanks for watching!!!
what code do i input to keep the program window open? when i "save as" and go back to the desktop click it open, it opens and closes instantly
Hello @Girl Talk Stocks, There are multiple ways to add pause before your program ends. One of the way is to add following statement at the end of your python program: input("Press any key to stop")
Try following program:
#Sample Python program
print ("Welcome to Self Study Tutorials")
#This function will help you to take pause before program ends
input("Press any key to stop execution")
thank you i had completely forgotten the how to use this when learning java
Welcome!
Excellent !! great explanation, thanks
You are welcome Andres Garcia. Happy to know that you enjoyed the Python Self Study Tutorials. Do share it with your friends for wider publicity of this useful tutorial.
wow thanks so much
You're welcome!
Great video.
Glad you enjoyed it. Thanks!
Very useful video and explanation.
Glad you liked it.
Thank you @AdityaPatel. Enjoy Self Study Tutorials...
Good short explanation. Do you use this environment or Pycharm or something else
Dear Mustafa, I use mainly three python environments: IDLE, Pycharm and Google Colab. ruclips.net/video/nbkE4jyBEI4/видео.html
Great explanation
Thank you so much👍🙏
Glad you liked it
Thank you sir❤🙏
Welcome and All the best.
Very easy teaching sir
Thanks and welcome Pawan,
🎉🎉
Thanks
It is ver uselful for me..Thank you sir
Always welcome @BalaTechTVM.
Tq video is useful
Welcome 😊
Excellent 👍
Thank you! Cheers!
Great Video !
Glad you enjoyed it.
excellent video btw!!! subscribed!
Welcome...Thanks for the sub!
Thank you so much!
Glad it helped! You are welcome.
Thanks good explanation
Glad you liked it ..
Thanks a lot !!
Glad you liked it.
Super sir
Thank you @Bhavani Badrasi
Enjoy the power of Self Study Tutorials..
😊😊s sir tq u
Thank you yar, it's useful☺
Welcome 😊 Glad to hear that !!! .. Keep watching Self Study Tutorials !!!
Excellent sir
Thanks and Keep watching @PawanChoudhury.
Thank you sir
All the best
exellent video
I am glad that you liked it. Enjoy @SelfStudyTutorials .. @Rekha P M.
Thankyou
.!
Most welcome!
thank you so much sir 💚
Most welcome
Thank you
Welcome!
Thank you very much
You are welcome..
Thankyou so much sir 🔥🔥
Keep watching!!! All the Best...
Thank youu so much🙌
You're welcome 😊 Happy to help!!!
I mean you could of just used , which would make a space, because the + and the " "
Edit: I realized that you were probably using an older version of IDLE
Dear AFCF,
Yes, at the time of preparation of this video, the available stable version of IDLE was 3.8.5; hence I used Python 3.8.5. As on March 2023, the latest available version of IDLE is 3.11.2.
The last window which displays the GUI is not opening. Please help.
All steps are followed
It works well on my Windows. Please clarify which platform/OS are you using?
Thanks
Welcome
Thank you so much
You're welcome @Yam vvv !!!
@@SelfStudyTutorials 😁
i got this output
Enter your name: k
Traceback (most recent call last):
File "C:\Users\odeha\Documents\test.py", line 2, in
name = input("Enter your name: ")
File "", line 1, in
NameError: name 'k' is not defined
>>>
whats the problem??
SOLUTION : iam using Python 2.7 , so i have to use raw_input instead of input
Please share your full code to understand program error.
Thanks sir 😇
Most welcome Prashu. All The Best!!!
Sir i follow the same steps for second code... But it shows.. U forgot comma
Dear Divya, Please share more details/full code to understand your error.
Thank u sir
Welcome Navya.
How to debug the code from python IDLE ?
Dear Raj,
Follow these steps to debug program in IDLE.
From Python's UDLE Menubar:
Select Debug -> Debugger
This will start debugger, and you can check your variable values during execution of your code.
Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
x=20
y=80
'z='x+y
SyntaxError: invalid syntax
i tried this in idle but i dont know why this is not working
Your reason of error is following line: 'z='x+y
You should write it as under:
z=x+y
I hope this will solve your problem. Do let me know if you facing any further problem in this regard.
With best wishes,
@@SelfStudyTutorials thankyou so much, i hope you gert all the pagdi's in the world
👍👍
Glad you liked it !!!
Sir aapne python ke pahle Kya lagaya
Dear VSE, please provide more details about your question.
Do you hacking as you run python idle in php?
Dear Lyon, I haven't tried Python with PHP
Link to download
Dear Kartik,
Here is the link to download: www.python.org/downloads/
Download required software version based on your operating system (Windows/MAC/Linux).
With best wishes
Bhai face tea karo
Dear Amit, its visible on channel profile page.
Sorry reavel karo
Dear Amit, its visible in profile picture.
Thank you sir
Welcome @Swathi Sree..