SlideShare a Scribd company logo
1 of 1
Download to read offline
I can't seem to figure out what I am doing wrong in my PyCharm when creating a python file. I
appear to only have one output when I run the program I can't figure out why. Can any one help?
File Ecit Yieur Navigate Code Refactor Run Iools vCS Whindow Help Myproject-Namehge.py
Project Namegepy Re NameAngepy x from datetime import date def main(): * ain function name =
input('lhat is your name? ') age = int(input(' How old are you? ')) current_year = date.today().year #
Get curpent year birth_year = current_year - age # Calculate birth year print('Hello {} ! You were
bonn in {}, . format(name, birth_year)) I main()

More Related Content

More from acmefit

please solve this Operators in the same row have the same pr.pdf
please solve this Operators in the same row have the same pr.pdfplease solve this Operators in the same row have the same pr.pdf
please solve this Operators in the same row have the same pr.pdfacmefit
 
a Suppose R is a partial order over set A Prove or disprov.pdf
a Suppose R is a partial order over set A Prove or disprov.pdfa Suppose R is a partial order over set A Prove or disprov.pdf
a Suppose R is a partial order over set A Prove or disprov.pdfacmefit
 
please help me with the case study Read the case study .pdf
please help me with the case study      Read the case study .pdfplease help me with the case study      Read the case study .pdf
please help me with the case study Read the case study .pdfacmefit
 
Note Use the Tax Tables to calculate the answers to the pro.pdf
Note Use the Tax Tables to calculate the answers to the pro.pdfNote Use the Tax Tables to calculate the answers to the pro.pdf
Note Use the Tax Tables to calculate the answers to the pro.pdfacmefit
 
Mayu is responsible for the security of her companys server.pdf
Mayu is responsible for the security of her companys server.pdfMayu is responsible for the security of her companys server.pdf
Mayu is responsible for the security of her companys server.pdfacmefit
 
Country Financial a financial services company uses survey.pdf
Country Financial a financial services company uses survey.pdfCountry Financial a financial services company uses survey.pdf
Country Financial a financial services company uses survey.pdfacmefit
 
ItemNodeh include ltiostreamgt include ltstring.pdf
ItemNodeh    include ltiostreamgt include ltstring.pdfItemNodeh    include ltiostreamgt include ltstring.pdf
ItemNodeh include ltiostreamgt include ltstring.pdfacmefit
 
Consulte la tabla a continuacin que muestra los datos de lo.pdf
Consulte la tabla a continuacin que muestra los datos de lo.pdfConsulte la tabla a continuacin que muestra los datos de lo.pdf
Consulte la tabla a continuacin que muestra los datos de lo.pdfacmefit
 
fill in the blank What is incorrect about an SCorp a Owne.pdf
fill in the blank What is incorrect about an SCorp a Owne.pdffill in the blank What is incorrect about an SCorp a Owne.pdf
fill in the blank What is incorrect about an SCorp a Owne.pdfacmefit
 
An estimated regression equation was developed to predict th.pdf
An estimated regression equation was developed to predict th.pdfAn estimated regression equation was developed to predict th.pdf
An estimated regression equation was developed to predict th.pdfacmefit
 
Far from being rigid and inflexible the doctrine of precede.pdf
Far from being rigid and inflexible the doctrine of precede.pdfFar from being rigid and inflexible the doctrine of precede.pdf
Far from being rigid and inflexible the doctrine of precede.pdfacmefit
 
Exhibit Multiplier The marginal propensity to consume is 0.pdf
Exhibit Multiplier The marginal propensity to consume is 0.pdfExhibit Multiplier The marginal propensity to consume is 0.pdf
Exhibit Multiplier The marginal propensity to consume is 0.pdfacmefit
 
Epto2decimalsjto4dedmalis trabsinty Bj.pdf
Epto2decimalsjto4dedmalis trabsinty  Bj.pdfEpto2decimalsjto4dedmalis trabsinty  Bj.pdf
Epto2decimalsjto4dedmalis trabsinty Bj.pdfacmefit
 
2Assume that i and j are assigned to registers s3 and .pdf
2Assume that i and j are assigned to registers s3 and .pdf2Assume that i and j are assigned to registers s3 and .pdf
2Assume that i and j are assigned to registers s3 and .pdfacmefit
 
20 pt Convert the following contextfree grammar to Choms.pdf
20 pt Convert the following contextfree grammar to Choms.pdf20 pt Convert the following contextfree grammar to Choms.pdf
20 pt Convert the following contextfree grammar to Choms.pdfacmefit
 
7 Displaying sample means and their errors A researcher is .pdf
7 Displaying sample means and their errors A researcher is .pdf7 Displaying sample means and their errors A researcher is .pdf
7 Displaying sample means and their errors A researcher is .pdfacmefit
 
1 Cul de las siguientes afirmaciones sobre una buena inv.pdf
1  Cul de las siguientes afirmaciones sobre una buena inv.pdf1  Cul de las siguientes afirmaciones sobre una buena inv.pdf
1 Cul de las siguientes afirmaciones sobre una buena inv.pdfacmefit
 
1a Si el pnico hace que los depositantes indios retiren su.pdf
1a Si el pnico hace que los depositantes indios retiren su.pdf1a Si el pnico hace que los depositantes indios retiren su.pdf
1a Si el pnico hace que los depositantes indios retiren su.pdfacmefit
 
1 Nortel Networks experiment una de las quiebras canadiens.pdf
1 Nortel Networks experiment una de las quiebras canadiens.pdf1 Nortel Networks experiment una de las quiebras canadiens.pdf
1 Nortel Networks experiment una de las quiebras canadiens.pdfacmefit
 

More from acmefit (19)

please solve this Operators in the same row have the same pr.pdf
please solve this Operators in the same row have the same pr.pdfplease solve this Operators in the same row have the same pr.pdf
please solve this Operators in the same row have the same pr.pdf
 
a Suppose R is a partial order over set A Prove or disprov.pdf
a Suppose R is a partial order over set A Prove or disprov.pdfa Suppose R is a partial order over set A Prove or disprov.pdf
a Suppose R is a partial order over set A Prove or disprov.pdf
 
please help me with the case study Read the case study .pdf
please help me with the case study      Read the case study .pdfplease help me with the case study      Read the case study .pdf
please help me with the case study Read the case study .pdf
 
Note Use the Tax Tables to calculate the answers to the pro.pdf
Note Use the Tax Tables to calculate the answers to the pro.pdfNote Use the Tax Tables to calculate the answers to the pro.pdf
Note Use the Tax Tables to calculate the answers to the pro.pdf
 
Mayu is responsible for the security of her companys server.pdf
Mayu is responsible for the security of her companys server.pdfMayu is responsible for the security of her companys server.pdf
Mayu is responsible for the security of her companys server.pdf
 
Country Financial a financial services company uses survey.pdf
Country Financial a financial services company uses survey.pdfCountry Financial a financial services company uses survey.pdf
Country Financial a financial services company uses survey.pdf
 
ItemNodeh include ltiostreamgt include ltstring.pdf
ItemNodeh    include ltiostreamgt include ltstring.pdfItemNodeh    include ltiostreamgt include ltstring.pdf
ItemNodeh include ltiostreamgt include ltstring.pdf
 
Consulte la tabla a continuacin que muestra los datos de lo.pdf
Consulte la tabla a continuacin que muestra los datos de lo.pdfConsulte la tabla a continuacin que muestra los datos de lo.pdf
Consulte la tabla a continuacin que muestra los datos de lo.pdf
 
fill in the blank What is incorrect about an SCorp a Owne.pdf
fill in the blank What is incorrect about an SCorp a Owne.pdffill in the blank What is incorrect about an SCorp a Owne.pdf
fill in the blank What is incorrect about an SCorp a Owne.pdf
 
An estimated regression equation was developed to predict th.pdf
An estimated regression equation was developed to predict th.pdfAn estimated regression equation was developed to predict th.pdf
An estimated regression equation was developed to predict th.pdf
 
Far from being rigid and inflexible the doctrine of precede.pdf
Far from being rigid and inflexible the doctrine of precede.pdfFar from being rigid and inflexible the doctrine of precede.pdf
Far from being rigid and inflexible the doctrine of precede.pdf
 
Exhibit Multiplier The marginal propensity to consume is 0.pdf
Exhibit Multiplier The marginal propensity to consume is 0.pdfExhibit Multiplier The marginal propensity to consume is 0.pdf
Exhibit Multiplier The marginal propensity to consume is 0.pdf
 
Epto2decimalsjto4dedmalis trabsinty Bj.pdf
Epto2decimalsjto4dedmalis trabsinty  Bj.pdfEpto2decimalsjto4dedmalis trabsinty  Bj.pdf
Epto2decimalsjto4dedmalis trabsinty Bj.pdf
 
2Assume that i and j are assigned to registers s3 and .pdf
2Assume that i and j are assigned to registers s3 and .pdf2Assume that i and j are assigned to registers s3 and .pdf
2Assume that i and j are assigned to registers s3 and .pdf
 
20 pt Convert the following contextfree grammar to Choms.pdf
20 pt Convert the following contextfree grammar to Choms.pdf20 pt Convert the following contextfree grammar to Choms.pdf
20 pt Convert the following contextfree grammar to Choms.pdf
 
7 Displaying sample means and their errors A researcher is .pdf
7 Displaying sample means and their errors A researcher is .pdf7 Displaying sample means and their errors A researcher is .pdf
7 Displaying sample means and their errors A researcher is .pdf
 
1 Cul de las siguientes afirmaciones sobre una buena inv.pdf
1  Cul de las siguientes afirmaciones sobre una buena inv.pdf1  Cul de las siguientes afirmaciones sobre una buena inv.pdf
1 Cul de las siguientes afirmaciones sobre una buena inv.pdf
 
1a Si el pnico hace que los depositantes indios retiren su.pdf
1a Si el pnico hace que los depositantes indios retiren su.pdf1a Si el pnico hace que los depositantes indios retiren su.pdf
1a Si el pnico hace que los depositantes indios retiren su.pdf
 
1 Nortel Networks experiment una de las quiebras canadiens.pdf
1 Nortel Networks experiment una de las quiebras canadiens.pdf1 Nortel Networks experiment una de las quiebras canadiens.pdf
1 Nortel Networks experiment una de las quiebras canadiens.pdf
 

Recently uploaded

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesSHIVANANDaRV
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningMarc Dusseiller Dusjagr
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfNirmal Dwivedi
 

Recently uploaded (20)

Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 

I cant seem to figure out what I am doing wrong in my PyCha.pdf

  • 1. I can't seem to figure out what I am doing wrong in my PyCharm when creating a python file. I appear to only have one output when I run the program I can't figure out why. Can any one help? File Ecit Yieur Navigate Code Refactor Run Iools vCS Whindow Help Myproject-Namehge.py Project Namegepy Re NameAngepy x from datetime import date def main(): * ain function name = input('lhat is your name? ') age = int(input(' How old are you? ')) current_year = date.today().year # Get curpent year birth_year = current_year - age # Calculate birth year print('Hello {} ! You were bonn in {}, . format(name, birth_year)) I main()