filmov
tv
Coding to Christmas – Python - Challenge 3
Показать описание
Write a program that will accept a user’s name, and the current day in December. Use the input to calculate and print out "Merry Christmas !" in capital letters, followed by “There are days until Christmas”.
Overview
In this challenge, you will learn how to get your computer to accept user input, cast data types to perform calculations, use uppercase and print the user input out to the screen.
This will allow you to answer the challenge above, as well as link to additional questions for you to try out.
What you need
What you learn
• Data types
• Variables
• Concatenation • Print function
• Input function • Upper function
Hint
Don’t forget the () after .upper()
Overview
In this challenge, you will learn how to get your computer to accept user input, cast data types to perform calculations, use uppercase and print the user input out to the screen.
This will allow you to answer the challenge above, as well as link to additional questions for you to try out.
What you need
What you learn
• Data types
• Variables
• Concatenation • Print function
• Input function • Upper function
Hint
Don’t forget the () after .upper()