Python Forum
Trouble making an argument optional
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble making an argument optional
#2
I think you accidentally saved a second version of your file or something. Works fine for me.
Output:
.. ---------------------------------------------------------------------- Ran 2 tests in 0.011s OK
Reply


Messages In This Thread
Trouble making an argument optional - by linuxnoob - Aug-31-2018, 12:50 AM
RE: Trouble making an argument optional - by Mekire - Aug-31-2018, 01:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  using mutable in function defintion as optional paramter akbarza 8 514 Apr-27-2024, 09:59 PM
Last Post: snippsat
  SyntaxError: positional argument follows keyword argument syd_jat 3 5,884 Mar-03-2020, 08:34 AM
Last Post: buran
  [split] Trouble making my first python .exe using pyinstaller. esha09 5 7,244 Apr-21-2018, 09:37 PM
Last Post: snippsat
  Trouble making my first python .exe using pyinstaller. PickyBiker 8 15,599 Dec-09-2016, 01:38 PM
Last Post: PickyBiker
  is 'self' optional ? meems 7 9,479 Dec-06-2016, 10:26 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020