2012 - GEC1506-2020 Python Quiz 1 (Normal) Scoreboard

Time

2020/05/05 12:30:00 2020/05/05 15:00:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
12770 GEC1506 Factorials
12774 GEC1506 Two People Helloworld

12770 - GEC1506 Factorials   

Description

We have introduced the loop and condition concept in our course, you can use these concepts to finish the following task.

Calculate N! = 1×2×...×(N-1)×N

Note that

  1. You DO NOT need to consider the number exceed the range of integer or long long data type. 
  2. 0! = 1

 

Input

A line of text with a number.

Output

A line with the factorial result.

Sample Input  Download

Sample Output  Download

Tags




Discuss




12774 - GEC1506 Two People Helloworld   

Description

Given a line of text with two names, you need to print out hello for both of them.

Input

A line of text with two names separated by a comma.

Output

A line of text with "Hello name1 and name2!"

Sample Input  Download

Sample Output  Download

Tags




Discuss