Write a Python Program to Input a Number and Print its First Five Multiples

Publié le: 09 septembre 2022
sur la chaîne: Code With TJ
1,019
11

Hi, in this video I tried to explain how to Write a Python Program to Input a Number and Print its First Five Multiples


Python Scripts
======================
https://codewithtj.blogspot.com/2024/...

Python Functions Solved
==========================
https://codewithtj.blogspot.com/2023/...

Python Programs Solved
============================
https://codewithtj.blogspot.com/2023/...


Code
===========
number = int(input("Enter a number : "))

multiples = [number * index for index in range(1, 6)]

print("First five multiples are ... ")
print(multiples)

Keywords
====================
#python #python3 #python_assignment #pythonprogramming #pythontutorial #pythonprojects #pythoncourse #pythonbaba #pythonforbeginners #pythonautomation #pythonbasic #pythonbeginners ,


Sur cette page du site, vous pouvez voir la vidéo en ligne Write a Python Program to Input a Number and Print its First Five Multiples durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code With TJ 09 septembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,019 fois et il a aimé 11 téléspectateurs. Bon visionnage!