Enter your query, example: how not cry when slicing onion or how to enter an Free Italian Sex Webcams?

How to name python functions Videos

All loaded Python function names are accessible through Global()

Switch to playlist: https://www.youtube.com/watch?v=SdzDaohx-GA&list=PLy-AlqZFg6G8tBTB6FFN68mryG4JlCaf- This project is going to use quite a bit of ...

Python Programming Tutorial - 27 - Building Functions

Visit my website at https://www.thenewboston.com/ for all of my videos and tutorials! Have questions or looking for source code? Check out the forum at ...

User Comments

https://lh3.googleusercontent.com/-OrffwurhOtM/AAAAAAAAAAI/AAAAAAAAADQ/PRi0qZx1vmk/photo.jpg?sz=64
dude it's not workin for me I can create a subroutine but it wont let me use it
https://lh3.googleusercontent.com/-OrffwurhOtM/AAAAAAAAAAI/AAAAAAAAADQ/PRi0qZx1vmk/photo.jpg?sz=64
np dude thx anywayz
https://lh4.googleusercontent.com/-mLuSfnUq4EY/AAAAAAAAAAI/AAAAAAAAABo/0a4sWxxTzNk/photo.jpg?sz=64
lol it's k.I'm actually starting to play Minecraft less too, sooo
https://lh3.googleusercontent.com/-OrffwurhOtM/AAAAAAAAAAI/AAAAAAAAADQ/PRi0qZx1vmk/photo.jpg?sz=64
btw I checked ur channel out and I see u play minecraft, u wana play sometimes?? a lot of people stopped playing so yea
https://lh3.googleusercontent.com/-OrffwurhOtM/AAAAAAAAAAI/AAAAAAAAADQ/PRi0qZx1vmk/photo.jpg?sz=64
thx dude I just started coding about a month ago so still getting up to grips with all the different commands
https://lh4.googleusercontent.com/-mLuSfnUq4EY/AAAAAAAAAAI/AAAAAAAAABo/0a4sWxxTzNk/photo.jpg?sz=64
at the end, every time you make a function, you should call it by saying "SpeedCalc()".Instead of putting "print(SpeedCalc)", you can either put "print(SpeedCalc())" or just "SpeedCalc()". If you want the person to try putting in the right format after doing it wrong, put "SpeedCalc()" right after the line "print('Wrong format entered')".Of course, don't include the doube quotation marks I put; but you can copy/paste everything inside them.So yeah, basically do SpeedCalc() instead of SpeedCalc.
https://lh3.googleusercontent.com/-OrffwurhOtM/AAAAAAAAAAI/AAAAAAAAADQ/PRi0qZx1vmk/photo.jpg?sz=64
but here goes:import datetimeimport redistance='100'def SpeedCalc():    time_taken=current_time1-current_time    speed=distance/time_takenagain='y'while again=='y':    CarReg=input('Please entrer the cars number plate in-XX11 XXX format: ')    current_time=datetime.datetime.now().time()    current_time.isoformat()    if re.match('[A-Z]{2}[0-9]{2}\s[A-Z]{3}', CarReg):        print('Right format enetered')    else:        print('Worng format entered')    SecondCamera=input('Press enter for the car to drive by the second camera ')    current_time1=datetime.datetime.now().time()    current_time1.isoformat()    print(SpeedCalc)
https://lh3.googleusercontent.com/-OrffwurhOtM/AAAAAAAAAAI/AAAAAAAAADQ/PRi0qZx1vmk/photo.jpg?sz=64
I'm in the process of making a program for speed cameras, so the code is nowhere near finished
https://lh4.googleusercontent.com/-mLuSfnUq4EY/AAAAAAAAAAI/AAAAAAAAABo/0a4sWxxTzNk/photo.jpg?sz=64
nah i mean put up ur code and the error.(i probably won't be able help though lol, im mostly hoping someone else will come along)
https://lh4.googleusercontent.com/-mLuSfnUq4EY/AAAAAAAAAAI/AAAAAAAAABo/0a4sWxxTzNk/photo.jpg?sz=64
Code and error?
https://lh5.googleusercontent.com/-dxNuYp__FcE/AAAAAAAAAAI/AAAAAAAAACc/1822nvvfZI8/photo.jpg?sz=64
why wont mine work def whatsup(x): return "Whats up" + x print(whatsup('tony'))
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
in python 3.x print is a functionin python 2.7 print can just be called without the brackets
https://lh3.googleusercontent.com/-XdUIqdMkCWA/AAAAAAAAAAI/AAAAAAAAAAA/4252rscbv5M/photo.jpg?sz=64
mine's not working , im working with python 3.3: def whatsup(x): return 'whatsup ' + x print whatsup('tony') --------------------------------------------------------------------------------------------- print whatsup('tony') ^ SyntaxError: invalid syntax Please help!
https://lh5.googleusercontent.com/-d_HchJvYhas/AAAAAAAAAAI/AAAAAAAAAFU/C78F6K6sgew/photo.jpg?sz=64
+Ricardo Cino thank you bro u helped me
https://lh3.googleusercontent.com/-MF1v1uA0BNo/AAAAAAAAAAI/AAAAAAAAAGY/YQkBZAL-K70/photo.jpg?sz=64
 print(whatsup('tony'))In python 3.x print has became a function. 

Python Tutorial #55 - Calling Functions

More tutorials HERE! //codeacademy.cc Calling Functions Best hosting : //www.dreamhost.com/r.cgi?2080824 Starts at just $8.95 per month! +Free ...

Idle (python) tip/discovery start typing name of function you created and press tab key

Et, viola! Your function is appears in a popup... arrow to the function you want and hit tab twice more to use it your script.
Sign up for free to join this conversation on fsaved.com.
Already have an account? Sign in to comment