Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing Postional Arguments
#3
Oh I see, thank you. So it should be like this, yes?:
    print("What kind of a place would you like?: ")
    username = ""
    phone_number = ""
    city = input("What city?: ").capitalize()
    suburb = input("What suburb?: ").capitalize()
    rooms = input("How manny rooms?: ").capitalize()

    find = Realtor(username, phone_number, city, suburb, rooms)

    find.apartment_info(city, suburb, rooms)
Another question. If a realtor logged in, what would be the best way to return the data in their row? for example the row with Markus
James,0774755572,Harare,Avenues,2
Markus,0773012521,Bulawayo,Nkayi,1
Viktor,0772542779,Mutare,Wallcourt,3
Reply


Messages In This Thread
Missing Postional Arguments - by Psypher1 - Nov-12-2019, 07:20 PM
RE: Missing Postional Arguments - by ichabod801 - Nov-12-2019, 09:16 PM
RE: Missing Postional Arguments - by Psypher1 - Nov-13-2019, 09:32 AM
RE: Missing Postional Arguments - by ichabod801 - Nov-13-2019, 03:21 PM
RE: Missing Postional Arguments - by Psypher1 - Nov-14-2019, 12:15 PM
RE: Missing Postional Arguments - by ichabod801 - Nov-14-2019, 01:26 PM
RE: Missing Postional Arguments - by Psypher1 - Nov-15-2019, 04:31 PM
RE: Missing Postional Arguments - by ichabod801 - Nov-15-2019, 04:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  TypeError: missing 3 required positional arguments: wardancer84 9 11,145 Aug-19-2021, 04:27 PM
Last Post: deanhystad
  TypeError: max_value() missing 2 required positional arguments: 'alpha' and 'beta' Anldra12 2 4,259 May-15-2021, 04:15 PM
Last Post: Anldra12
  TypeError: add() missing 2 required positional arguments NectDz 5 13,248 May-28-2020, 02:54 PM
Last Post: BitPythoner
  Missing 2 Required Positional Arguments: SwiftWater 1 20,049 Feb-28-2019, 08:57 AM
Last Post: buran
  Functions (Arguments Passing,Changing a mutable ,Assignment to Arguments Names) Adelton 2 3,919 Mar-02-2017, 10:23 PM
Last Post: zivoni

Forum Jump:

User Panel Messages

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