Skip to content

soc-wk1-cert-p-shobha.py#1

Open
pshobha97 wants to merge 1 commit intoilonabudapesti:masterfrom
pshobha97:master
Open

soc-wk1-cert-p-shobha.py#1
pshobha97 wants to merge 1 commit intoilonabudapesti:masterfrom
pshobha97:master

Conversation

@pshobha97
Copy link
Copy Markdown

how many hours in a year?
`int hour,day,hours_in_year;
string year;
hour=24;

enter the year as leapyear or noleapyear

year=input('enter the year');
if(year==leapyear)
{
day=366;
}
else if(year==noleapyear)
{
day=365;
}
else
print("enter leapyear or noleapyear");

hours_in_year=day*hour;
print("hour in the year is"+hours_in_year);

minutes in decade
int minute=1036524*60;
print("minutes in decade is"+minute);

my age in seconds
int age_in_second;
age_in_second=20365246060;
print("my age in second is"+age);

Calculate @Andreea Visanoiu's age.

int age;
age= 48618000 /(3652460*60);
print("age of Andreea Visanoiu is "+age);

#612
`

@pshobha97 pshobha97 closed this Jul 21, 2018
@pshobha97 pshobha97 reopened this Jul 21, 2018
ilonabudapesti added a commit that referenced this pull request Sep 26, 2018
add links to tutorials and dev documentation for FAQ bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant