Python Forum
i need assistance on the output of a particular code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i need assistance on the output of a particular code
#1
def sentence(subject="i", predicate="play", object="football"):
    print(subject, predicate, object)

sentence()
Output:
('i', 'play', 'football')
please I just started coding a month ago I need an assistant on why this code I executed "i play football" displayed the comma's and apostrophes sign
Reply


Messages In This Thread
i need assistance on the output of a particular code - by sirvinprogramming - May-19-2018, 01:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  problem in output of a snippet code akbarza 2 390 Feb-28-2024, 07:15 PM
Last Post: deanhystad
  I cannot able to see output of this code ted 1 766 Feb-22-2023, 09:43 PM
Last Post: deanhystad
  Code Assistance needed in saving the file MithunT 0 822 Oct-09-2022, 03:50 PM
Last Post: MithunT
  why I dont get any output from this code William369 2 1,138 Jun-23-2022, 09:18 PM
Last Post: William369
  How can I organize my code according to output that I want ilknurg 1 1,184 Mar-11-2022, 09:24 AM
Last Post: perfringo
  Assistance with running a few lines of code at an EXACT time nethatar 5 3,276 Feb-24-2021, 10:43 PM
Last Post: nilamo
  Why this code not getting desired output ? MDRI 2 2,547 Sep-18-2020, 02:11 AM
Last Post: MDRI
  I couldn't understand the output of the below code ravich129 1 1,938 Dec-12-2019, 06:24 AM
Last Post: sandeep_ganga
  Output of Python code hemal07yc 5 3,981 Sep-13-2019, 11:33 AM
Last Post: perfringo
  Output not following rules set in code. Escribblings 4 3,112 Apr-24-2019, 12:49 PM
Last Post: Escribblings

Forum Jump:

User Panel Messages

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