Skip to content

luschetinger/Sample_2_files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Sample_2_files

This is a sample repository, it contains 2 simple scripts:

#--------------------------------------------------------------------------------------------------------------------------

conditionals.py code asks for an user input, age, and according to the answer, it will reply if the user is an adult or (teen or a child). The script uses a for loop with a range to run more than once and then conditionals to react to user input.

#--------------------------------------------------------------------------------------------------------------------------

the conditionals-bananas.py script uses a while loop to run multiple times. It asks for an user input, 'how many bananas do you have' according to the user answer, it will categorize the amount of bananas.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages